diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-09-09 23:17:26 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-09-09 23:17:26 -0400 |
commit | 51cf8fd2df3cf7a602d05540627a5ad8af6baa58 (patch) | |
tree | 1fac31d47c6e9a211c142f56aec154371544e3f5 /discord/role.hpp | |
parent | 5975e85d42a49652bb33de9f5213cb4dd5bf08e0 (diff) | |
download | abaddon-portaudio-51cf8fd2df3cf7a602d05540627a5ad8af6baa58.tar.gz abaddon-portaudio-51cf8fd2df3cf7a602d05540627a5ad8af6baa58.zip |
rename and reorder a bunch of discord stuff
Diffstat (limited to 'discord/role.hpp')
-rw-r--r-- | discord/role.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/discord/role.hpp b/discord/role.hpp new file mode 100644 index 0000000..79f1038 --- /dev/null +++ b/discord/role.hpp @@ -0,0 +1,19 @@ +#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); +}; |