Files
abaddon/discord/role.hpp
2020-09-09 23:17:26 -04:00

20 lines
365 B
C++

#pragma once
#include "snowflake.hpp"
#include "json.hpp"
#include <string>
#include <cstdint>
struct Role {
Snowflake ID;
std::string Name;
int Color;
bool IsHoisted;
int Position;
int PermissionsLegacy;
uint64_t Permissions;
bool IsManaged;
bool IsMentionable;
friend void from_json(const nlohmann::json &j, Role &m);
};