diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-01-16 23:48:19 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-01-16 23:48:19 -0500 |
commit | 3a25249a0dc5b8ebbb7039da2af9fefb69fcf04d (patch) | |
tree | 2177a0bb7c1e94410694a527ede18b8ed212b8d6 /discord/member.hpp | |
parent | 462f801af20562f151cd7ad7fa70aa65695b3e22 (diff) | |
download | abaddon-portaudio-3a25249a0dc5b8ebbb7039da2af9fefb69fcf04d.tar.gz abaddon-portaudio-3a25249a0dc5b8ebbb7039da2af9fefb69fcf04d.zip |
add role list to user menu
Diffstat (limited to 'discord/member.hpp')
-rw-r--r-- | discord/member.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/discord/member.hpp b/discord/member.hpp index 0a5e57d..087f2bf 100644 --- a/discord/member.hpp +++ b/discord/member.hpp @@ -2,6 +2,7 @@ #include "snowflake.hpp" #include "json.hpp" #include "user.hpp" +#include "role.hpp" #include <string> #include <vector> @@ -14,6 +15,8 @@ struct GuildMember { bool IsDeafened; bool IsMuted; + std::vector<RoleData> GetSortedRoles() const; + friend void from_json(const nlohmann::json &j, GuildMember &m); static GuildMember from_update_json(const nlohmann::json &j); }; |