![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
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< ApplicationCommandPermissionData > | permissions {} |
A vector of ApplicationCommand permissions. | |