DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
discord_core_api::role_data Class Reference

a single role_data. More...

#include <FoundationEntities.hpp>

Inherits discord_core_api::flag_entity< value_type >.

Public Data Members

uint32_t color {}
 Integer representation of hexadecimal color code.
 
role_flags flags {}
 Role flags combined as a bitfield.
 
bool hoist {}
 Whether this role is pinned in the user listing.
 
jsonifier::string icon {}
 Role icon hash. (optional).
 
snowflake id {}
 Role id.
 
bool managed {}
 Whether this role is managed by an integration.
 
bool mentionable {}
 Whether this role is mentionable.
 
jsonifier::string name {}
 Role name.
 
permissions_parse permissions {}
 Permission bit set.
 
uint32_t position {}
 Position of this role.
 
role_tags_data tags {}
 Role tags object. (optional)
 
jsonifier::string unicodeEmoji {}
 Role unicode emoji. (optional)
 

The documentation for this class was generated from the following files: