DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
For updating a role_data's options within a chosen guild. More...
#include <RoleEntities.hpp>
Public Data Members | |
snowflake | guildId {} |
The id of the guild within which to update the role_data. | |
jsonifier::string | hexColorValue {} |
A hex-color value between 0x00 and 0xFFFFFF. | |
bool | hoist {} |
Is this role_data hoisted above the others? | |
jsonifier::string | icon {} |
Image data the role's icon image (if the guild has the ROLE_ICONS feature) null. | |
bool | mentionable {} |
Is it mentionable? | |
jsonifier::string | name {} |
What the name of the role_data is going to be. | |
permissions_parse | permissions { "0" } |
Base guild permissions for the role_data. | |
jsonifier::string | reason {} |
< reason for modifying the role_data. | |
snowflake | roleId {} |
The id of the role_data to update. | |
jsonifier::string | unicodeEmoji {} |
The role's unicode emoji as a standard emoji. | |