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

A single Role. More...

#include <RoleEntities.hpp>

Inheritance diagram for DiscordCoreAPI::Role:

Public Data Members

IconHash icon {}
 Icon representing the Role.
RoleTagsData tags {}
 Role tags for the Role.
- Public Data Members inherited from DiscordCoreAPI::RoleData
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: