DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
For creating an application command. More...
#include <ApplicationCommandEntities.hpp>
Additional Inherited Members | |
Public Data Members inherited from discord_core_api::application_command_data | |
snowflake | applicationId {} |
The current application id. | |
permission | defaultMemberPermissions {} |
Set of permissions represented as a bit set all. | |
jsonifier::string | description {} |
A description of the current application_command_data. | |
unordered_map< jsonifier::string, jsonifier::string > | descriptionLocalizations {} |
Dictionary with keys in available locales. | |
bool | dmPermission {} |
Indicates whether the command is available in dms with the app, only for globally - scoped commands. | |
unordered_set< jsonifier::string > | excludedKeys {} |
Keys to exclude at serialization time. | |
snowflake | guildId {} |
(where applicable) a guild id for which guild to assign this application_command_data to. | |
jsonifier::string | name {} |
Name of the current application_command_data. | |
unordered_map< jsonifier::string, jsonifier::string > | nameLocalizations {} |
Dictionary with keys in available locales. | |
jsonifier::vector< application_command_option_data > | options {} |
A vector of possible options for the current application_command_data. | |
application_command_type | type {} |
The type of application_command_data. | |
jsonifier::string | version {} |
An autoincremented version. | |