![]() |
droplet 1.3.0
A multipurpose Discord bot with the hacker in mind
|
#include <IGlobalSlashCommand.hpp>
Public Member Functions | |
| virtual | ~IGlobalSlashCommand ()=default |
| virtual void | on_slashcommand (const dpp::slashcommand_t &event)=0 |
Public Attributes | |
| std::string | command_name |
| std::string | command_description |
| std::vector< dpp::command_option > | command_options |
| bool | admin_only {false} |
|
virtualdefault |
|
pure virtual |
Implemented in AddResourcesCommand, BlacklistCommand, BugReportCommand, ChallengeBadgeCommand, ChallengeRoleCommand, ClearCommand, FlipCommand, GetResourcesCommand, HelpCommand, InviteCommand, LeaderboardCommand, LearnCPPCommand, ProfileCommand, ReactionRoles, ReminderCommand, RemoveNotificationCommand, RemovePortalCommand, RollCommand, ServerDetails, SetNotificationCommand, SetPortalCommand, and WarnCommand.
| bool IGlobalSlashCommand::admin_only {false} |
| std::string IGlobalSlashCommand::command_description |
| std::string IGlobalSlashCommand::command_name |
| std::vector<dpp::command_option> IGlobalSlashCommand::command_options |