![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
Data structure representing a single Role. More...
#include <FoundationEntities.hpp>
Public Data Members | |
ColorValue | color { 0 } |
The Role's color. | |
RoleFlags | flags {} |
Role flags. | |
Snowflake | guildId {} |
The id of the Guild that this Role is from. | |
StringWrapper | name {} |
The Role's name. | |
Permissions | permissions {} |
The Role's base Guild Permissions. | |
int16_t | position {} |
Its position amongst the rest of the Guild's roles. | |
StringWrapper | unicodeEmoji {} |
Emoji representing the Role. | |
![]() | |
Snowflake | id {} |
Additional Inherited Members | |
![]() | |
std::string | getCreatedAtTimestamp (TimeFormat timeFormat) |
Converts the snowflake-id into a time and date stamp. | |