DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
discord_core_api::create_application_command_data Struct Reference

For creating an application command. More...

#include <ApplicationCommandEntities.hpp>

Inheritance diagram for discord_core_api::create_application_command_data:
[legend]

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_dataoptions {}
 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.
 

The documentation for this struct was generated from the following file: