![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
For creating a new role_data within a chosen guild. More...
#include <RoleEntities.hpp>
Public Data Members | |
snowflake | guildId {} |
Which guild to make the role_data in. | |
jsonifier::string | hexColorValue {} |
Hex color-value between 0 and ffffff. | |
bool | hoist {} |
Is this role_data hoisted above the rest of them? | |
jsonifier::string | icon {} |
Image data the role's icon image (if the guild has the ROLE_ICONS feature) null. | |
bool | mentionable {} |
Is it mentionable by others in the guild. | |
jsonifier::string | name {} |
The name of the role_data. | |
permissions_parse | permissions {} |
The base permissions to give the role_data. | |
uint32_t | position {} |
The position amongst the other roles. | |
jsonifier::string | reason {} |
Reason for creating the role_data. | |
jsonifier::string | unicodeEmoji {} |
The role's unicode emoji as a standard emoji. | |