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

For editing a single guild 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.
 
bool dmPermission {}
 Indicates whether the command is available in dms with the app.
 
snowflake guildId {}
 The id of the guild which you would like to add the new command to.
 
jsonifier::string name {}
 A name for the new command.
 
unordered_map< jsonifier::string, jsonifier::string > nameLocalizations {}
 Dictionary with keys in available locales.
 
jsonifier::vector< application_command_option_dataoptions {}
 The options for the application_command_data.
 

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