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

For editing a single global application_command_data. More...

#include <ApplicationCommandEntities.hpp>

Public Data Members

snowflake applicationId {}
 The current application's snowflake (the bot's user_data snowflake).
 
jsonifier::string defaultMemberPermissions {}
 Set of permissions represented as a bit set. only for globally - scoped commands.
 
jsonifier::string description {}
 A description of the command.
 
unordered_map< jsonifier::string, jsonifier::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.
 
jsonifier::string name {}
 A name for the new command.
 
unordered_map< jsonifier::string, jsonifier::string > nameLocalizations {}
 Dictionary with keys in available locales localization dictionary for the name field.
 
jsonifier::vector< application_command_option_dataoptions {}
 The options for the application_command_data.
 

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