![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
For editing the PermissionTypes overwrites of a given Channel, for a given Role or User. More...
#include <ChannelEntities.hpp>
Public Data Members | |
std::string | allow {} |
The permissions to list as "allowed". | |
Snowflake | channelId {} |
The Channel id of the desired Channel to modify the permissions for. | |
std::string | deny {} |
The permissions to list as "deny". | |
std::string | reason {} |
Reason for editing the permission overwrites. | |
Snowflake | roleOrUserId {} |
The Role or User Id to modify the permissions for. | |
PermissionOverwritesType | type {} |
The type of overwrite. | |