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 |
Stores info pertaining to guild roles.