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

For creating a new Role within a chosen Guild. More...

#include <RoleEntities.hpp>

Public Data Members

Snowflake guildId {}
 Which Guild to make the Role in.
std::string hexColorValue {}
 Hex color-value between 0 and ffffff.
bool hoist { false }
 Is this Role hoisted above the rest of them?
std::string icon {}
 Image data the role's icon image (if the guild has the ROLE_ICONS feature) null.
bool mentionable { false }
 Is it mentionable by others in the Guild.
std::string name {}
 The name of the Role.
Permissions permissions {}
 The base permissions to give the Role.
int32_t position { 0 }
 The position amongst the other roles.
std::string reason {}
 Reason for creating the Role.
std::string unicodeEmoji {}
 The role's unicode emoji as a standard emoji.

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