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

For editing the permissions of 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).
 
snowflake commandId {}
 The command id which you would like to edit the permissions of.
 
jsonifier::string commandName {}
 The command name which you would like to edit the permissions of.
 
snowflake guildId {}
 The guild id of the guild for which you would like to edit the command permissions.
 
jsonifier::vector< application_command_permission_datapermissions {}
 A vector of application_command_data permissions.
 

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