D++ (DPP)
C++ Discord API Bot Library
dpp::command_info_t Struct Reference

Represents the details of a command added to the command handler class. More...

#include <commandhandler.h>

+ Collaboration diagram for dpp::command_info_t:

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...
 

Detailed Description

Represents the details of a command added to the command handler class.

Deprecated:
commandhandler and message commands are deprecated and dpp::slashcommand is encouraged as a replacement.

Member Data Documentation

◆ func

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.

◆ guild_id

snowflake dpp::command_info_t::guild_id

Guild ID the command exists on, or 0 to be present on all guilds.

◆ parameters

parameter_registration_t dpp::command_info_t::parameters

Parameters requested for the command, with their types.

D++ Library version 10.0.31D++ Library version 10.0.30D++ Library version 10.0.29D++ Library version 10.0.28D++ Library version 10.0.27D++ Library version 10.0.26D++ Library version 10.0.25D++ Library version 10.0.24D++ Library version 10.0.23D++ Library version 10.0.22D++ Library version 10.0.21D++ Library version 10.0.20D++ Library version 10.0.19D++ Library version 10.0.18D++ Library version 10.0.17D++ Library version 10.0.16D++ Library version 10.0.15D++ Library version 10.0.14D++ Library version 10.0.13D++ Library version 10.0.12D++ Library version 10.0.11D++ Library version 10.0.10D++ Library version 10.0.9D++ Library version 10.0.8D++ Library version 10.0.7D++ Library version 10.0.6D++ Library version 10.0.5D++ Library version 10.0.4D++ Library version 10.0.3D++ Library version 10.0.2D++ Library version 10.0.1D++ Library version 10.0.0D++ Library version 9.0.19D++ Library version 9.0.18D++ Library version 9.0.17D++ Library version 9.0.16D++ Library version 9.0.15D++ Library version 9.0.14D++ Library version 9.0.13D++ Library version 9.0.12D++ Library version 9.0.11D++ Library version 9.0.10D++ Library version 9.0.9D++ Library version 9.0.8D++ Library version 9.0.7D++ Library version 9.0.6D++ Library version 9.0.5D++ Library version 9.0.4D++ Library version 9.0.3D++ Library version 9.0.2D++ Library version 9.0.1D++ Library version 9.0.0D++ Library version 1.0.2D++ Library version 1.0.1D++ Library version 1.0.0