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

Data structure representing a single role_data. More...

#include <FoundationEntities.hpp>

Inherits discord_core_api::flag_entity< value_type >.

Public Data Members

uint32_t color {}
 The role_data's color.
 
role_flags flags {}
 Role_data flags.
 
snowflake guildId {}
 The id of the guild that this role_data is from.
 
snowflake id {}
 This role's id.
 
jsonifier::string name {}
 The role_data's name.
 
permissions permissionsVal {}
 The role_data's base guild permissions.
 
uint32_t position {}
 Its position amongst the rest of the guild's roles.
 
jsonifier::string unicodeEmoji {}
 Emoji representing the role_data.
 

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