All Classes Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Public Attributes | List of all members
aegis::gateway::objects::role Struct Reference

Stores info pertaining to guild roles. More...

#include <role.hpp>

Public Member Functions

 role (const std::string &_json, aegis::core *bot) noexcept
 role (const nlohmann::json &_json, aegis::core *bot) noexcept
 role (aegis::core *bot) noexcept

Public Attributes

uint32_t color = 0
snowflake id
snowflake role_id
std::string name
aegis::permission _permission
uint16_t position = 0
bool hoist = false
bool managed = false
bool mentionable = false

Detailed Description

Stores info pertaining to guild roles.

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