![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
For updating a Role'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. | |
std::string | hexColorValue {} |
A hex-color value between 0x00 and 0xFFFFFF. | |
bool | hoist {} |
Is this Role hoisted above the others? | |
std::string | icon {} |
Image data the role's icon image (if the guild has the ROLE_ICONS feature) null. | |
bool | mentionable {} |
Is it mentionable? | |
std::string | name {} |
What the name of the Role is going to be. | |
Permissions | permissions { "0" } |
Base Guild permissions for the Role. | |
std::string | reason {} |
< Reason for modifying the Role. | |
Snowflake | roleId {} |
The id of the Role to update. | |
std::string | unicodeEmoji {} |
The role's unicode emoji as a standard emoji. | |