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

Data structure representing a single Role. More...

#include <FoundationEntities.hpp>

Inheritance diagram for DiscordCoreAPI::RoleData:

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.
- Public Data Members inherited from DiscordCoreAPI::DiscordEntity
Snowflake id {}

Additional Inherited Members

- Public Member Functions inherited from DiscordCoreAPI::DiscordEntity
std::string getCreatedAtTimestamp (TimeFormat timeFormat)
 Converts the snowflake-id into a time and date stamp.

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