Namespaces | |
namespace | commands |
namespace | utils |
namespace | var |
Classes | |
class | Bot |
struct | BotSettings |
Create the bot settings: More... | |
class | Debug |
class | Msg |
Typedefs | |
typedef struct bot::BotSettings | BotSettings |
Create the bot settings: | |
Functions | |
void | cli (std::string commandStr, std::shared_ptr< bot::Bot > aquin, bot::Debug debug) |
Variables | |
std::vector< std::tuple< std::string, std::string, std::vector< Error >(*)(const dpp::slashcommand_t &, std::shared_ptr< bot::Bot > aquin), std::map< std::string, std::pair< std::string, bool > >, std::map< std::string, std::string > > > | slashCommandValidations |
Validate the commands here, check src/commandValidation.cpp for reference. | |
typedef struct bot::BotSettings bot::BotSettings |
Create the bot settings:
Bot Settings - Typedef struct
void bot::cli | ( | std::string | commandStr, |
std::shared_ptr< bot::Bot > | aquin, | ||
bot::Debug | debug ) |
CLI - Function Enter the CLI for the bot and type commands in the client
std::vector< std::tuple< std::string, std::string, std::vector< Error >(*)(const dpp::slashcommand_t &, std::shared_ptr< bot::Bot > aquin), std::map< std::string, std::pair< std::string, bool > >, std::map< std::string, std::string > > > bot::slashCommandValidations |
Validate the commands here, check src/commandValidation.cpp
for reference.
slashCommandValidations - Variable