![]() |
droplet 1.3.0
A multipurpose Discord bot with the hacker in mind
|
#include <ReactionRoles.hpp>
Public Member Functions | |
| ReactionRoles (AppContext &ctx) | |
| void | on_slashcommand (const dpp::slashcommand_t &event) override |
| void | on_message_reaction_add (const dpp::message_reaction_add_t &event) override |
| void | on_message_reaction_remove (const dpp::message_reaction_remove_t &event) override |
| Public Member Functions inherited from IGlobalSlashCommand | |
| virtual | ~IGlobalSlashCommand ()=default |
| Public Member Functions inherited from IReactionCommand | |
| virtual | ~IReactionCommand ()=default |
Static Public Attributes | |
| static constexpr std::string_view | k_name {"reaction_role"} |
| static constexpr std::string_view | k_description {"Create reaction Roles (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 IReactionCommand.
|
overridevirtual |
Reimplemented from IReactionCommand.
|
overridevirtual |
Implements IGlobalSlashCommand.
|
staticconstexpr |
|
staticconstexpr |