![]() |
droplet 1.3.0
A multipurpose Discord bot with the hacker in mind
|
#include <SetPortalCommand.hpp>
Public Member Functions | |
| SetPortalCommand (AppContext &ctx) | |
| void | on_slashcommand (const dpp::slashcommand_t &event) override |
| void | on_message_create (const dpp::message_create_t &event) override |
| Public Member Functions inherited from IGlobalSlashCommand | |
| virtual | ~IGlobalSlashCommand ()=default |
| Public Member Functions inherited from IMessageCommand | |
| virtual | ~IMessageCommand ()=default |
| virtual void | on_message_delete (const dpp::message_delete_t &event) |
| virtual void | on_message_delete_bulk (const dpp::message_delete_bulk_t &event) |
Static Public Attributes | |
| static constexpr std::string_view | k_name {"set_portal"} |
| static constexpr std::string_view | k_description {"Set a channel as a portal for foreign messages (Admin only!)"} |
Additional Inherited Members | |
| Public Attributes inherited from IGlobalSlashCommand | |
| std::string | command_name |
| std::string | command_description |
| std::vector< dpp::command_option > | command_options |
| bool | admin_only {false} |
|
explicit |
|
overridevirtual |
Reimplemented from IMessageCommand.
|
overridevirtual |
Implements IGlobalSlashCommand.
|
staticconstexpr |
|
staticconstexpr |