D++ (DPP)
C++ Discord API Bot Library
|
Represents the details of a command added to the command handler class. More...
#include <commandhandler.h>
Public Attributes | |
command_handler | func |
Function reference for the handler. This is std::function so it can represent a class member, a lambda or a raw C function pointer. More... | |
parameter_registration_t | parameters |
Parameters requested for the command, with their types. More... | |
snowflake | guild_id |
Guild ID the command exists on, or 0 to be present on all guilds. More... | |
Represents the details of a command added to the command handler class.
command_handler dpp::command_info_t::func |
Function reference for the handler. This is std::function so it can represent a class member, a lambda or a raw C function pointer.
snowflake dpp::command_info_t::guild_id |
Guild ID the command exists on, or 0 to be present on all guilds.
parameter_registration_t dpp::command_info_t::parameters |
Parameters requested for the command, with their types.