![]() |
droplet 1.3.0
A multipurpose Discord bot with the hacker in mind
|
#include <Bot.hpp>
Public Member Functions | |
| Bot (const std::string &token) | |
| Bot (const Bot &)=delete | |
| Bot & | operator= (const Bot &)=delete |
| dpp::cluster & | discord () noexcept |
| void | add_slash_command (const std::shared_ptr< IGlobalSlashCommand > &slash_command) |
| void | add_button_command (const std::shared_ptr< IButtonCommand > &button_command) |
| void | add_form_command (const std::shared_ptr< IFormCommand > &form_command) |
| void | add_message_command (const std::shared_ptr< IMessageCommand > &message_command) |
| void | add_message_delete_command (const std::shared_ptr< IMessageCommand > &message_command) |
| void | add_reaction_command (const std::shared_ptr< IReactionCommand > &reaction_command) |
| void | add_ready_command (const std::shared_ptr< IReady > &ready_command) |
| void | run () |
| void | shutdown () noexcept |
|
explicit |
|
delete |
| void Bot::add_button_command | ( | const std::shared_ptr< IButtonCommand > & | button_command | ) |
| void Bot::add_form_command | ( | const std::shared_ptr< IFormCommand > & | form_command | ) |
| void Bot::add_message_command | ( | const std::shared_ptr< IMessageCommand > & | message_command | ) |
| void Bot::add_message_delete_command | ( | const std::shared_ptr< IMessageCommand > & | message_command | ) |
| void Bot::add_reaction_command | ( | const std::shared_ptr< IReactionCommand > & | reaction_command | ) |
| void Bot::add_ready_command | ( | const std::shared_ptr< IReady > & | ready_command | ) |
| void Bot::add_slash_command | ( | const std::shared_ptr< IGlobalSlashCommand > & | slash_command | ) |
|
inlinenodiscardnoexcept |
| void Bot::run | ( | ) |
|
noexcept |
| button_commands_t Bot::button_commands |
| form_commands_t Bot::form_commands |
| message_commands_t Bot::message_commands |
| message_commands_t Bot::message_delete_commands |
| reaction_commands_t Bot::reaction_commands |
| ready_commands_t Bot::ready_commands |
| slash_commands_t Bot::slash_commands |