![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
For editing the permission_types overwrites of a given channel, for a given role or user_data. More...
#include <ChannelEntities.hpp>
Public Data Members | |
permissions_parse | allow {} |
The permissions to list as "allowed". | |
snowflake | channelId {} |
The channel_data id of the desired channel_data to modify the permissions for. | |
permissions_parse | deny {} |
The permissions to list as "deny". | |
jsonifier::string | reason {} |
Reason for editing the permission overwrites. | |
snowflake | roleOrUserId {} |
The role_data or user_data snowflake to modify the permissions for. | |
permission_overwrites_type | type {} |
The type of overwrite. | |