DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
Command data, for functions executed by the command_controller. More...
#include <FoundationEntities.hpp>
Public Member Functions | |
const channel_data & | getChannelData () const |
Returns the channel_data of this input-event. More... | |
serializer_value | getCommandArguments () const |
Returns the collection of command inputs/options for this command. More... | |
jsonifier::string | getCommandName () const |
Returns the name of this entered command. More... | |
const guild_member_data & | getGuildMemberData () const |
Returns the guild_member_data of this input-event. More... | |
const input_event_data & | getInputEventData () const |
Returns the input_event_data for this command. More... | |
const interaction_data & | getInteractionData () const |
Returns the interaction data, if appplicable, of this input-event. More... | |
const message_data & | getMessageData () const |
Returns the message data, if applicable, of this input-event. More... | |
jsonifier::string | getSubCommandGroupName () const |
Returns the subcommand-name of this entered command group. More... | |
jsonifier::string | getSubCommandName () const |
Returns the subcommand-name of this entered command. More... | |
const user_data & | getUserData () const |
Returns the user_data of this input-event. More... | |
const channel_data & discord_core_api::command_data::getChannelData | ( | ) | const |
Definition at line 1100 of file FoundationEntities.cpp.
serializer_value discord_core_api::command_data::getCommandArguments | ( | ) | const |
Definition at line 1048 of file FoundationEntities.cpp.
jsonifier::string discord_core_api::command_data::getCommandName | ( | ) | const |
Definition at line 1112 of file FoundationEntities.cpp.
const guild_member_data & discord_core_api::command_data::getGuildMemberData | ( | ) | const |
Definition at line 1096 of file FoundationEntities.cpp.
const input_event_data & discord_core_api::command_data::getInputEventData | ( | ) | const |
Definition at line 1124 of file FoundationEntities.cpp.
const interaction_data & discord_core_api::command_data::getInteractionData | ( | ) | const |
Definition at line 1092 of file FoundationEntities.cpp.
const message_data & discord_core_api::command_data::getMessageData | ( | ) | const |
Definition at line 1104 of file FoundationEntities.cpp.
jsonifier::string discord_core_api::command_data::getSubCommandGroupName | ( | ) | const |
Definition at line 1120 of file FoundationEntities.cpp.
jsonifier::string discord_core_api::command_data::getSubCommandName | ( | ) | const |
Definition at line 1116 of file FoundationEntities.cpp.
const user_data & discord_core_api::command_data::getUserData | ( | ) | const |