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. More... | |
snowflake | guild_id |
Guild ID the command exists on, or 0 to be present on all guilds. More... | |
parameter_registration_t | parameters |
Parameters requested for the command, with their types. 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.
Referenced by dpp::commandhandler::~commandhandler().
snowflake dpp::command_info_t::guild_id |
Guild ID the command exists on, or 0 to be present on all guilds.
Referenced by dpp::commandhandler::~commandhandler().
parameter_registration_t dpp::command_info_t::parameters |
Parameters requested for the command, with their types.
Referenced by dpp::commandhandler::~commandhandler().