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