![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
For editing a single global ApplicationCommand. More...
#include <ApplicationCommandEntities.hpp>
Public Data Members | |
Snowflake | applicationId {} |
The current application's Id (The Bot's User Id). | |
Permissions | defaultMemberPermissions {} |
Set of permissions represented as a bit set. only for globally - scoped commands. | |
std::string | description {} |
A description of the command. | |
std::unordered_map< std::string, std::string > | descriptionLocalizations {} |
Dictionary with keys in available locales Localization dictionary for the description field. | |
bool | dmPermission {} |
Indicates whether the command is available in DMs with the app. | |
std::string | name {} |
A name for the new command. | |
std::unordered_map< std::string, std::string > | nameLocalizations {} |
Dictionary with keys in available locales Localization dictionary for the name field. | |
std::vector< ApplicationCommandOptionData > | options {} |
The options for the ApplicationCommand. | |