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

For editing the permissions of a single Guild ApplicationCommand. More...

#include <ApplicationCommandEntities.hpp>

Public Data Members

Snowflake applicationId {}
 The current application's Id (The Bot's User Id).
 
uint64_t commandId {}
 The command id which you would like to edit the permissions of.
 
std::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.
 
std::vector< ApplicationCommandPermissionDatapermissions {}
 A vector of ApplicationCommand permissions.
 

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