summaryrefslogtreecommitdiff
path: root/discord/member.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-01-23 18:23:14 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2021-01-23 18:23:14 -0500
commitfd72d91ceef0bba92fe886719b6e30e81f9ec838 (patch)
tree01ad325aeaf4b6b8f5443227cd94b8bfa7636819 /discord/member.hpp
parent04734e7e55366e3138f7d818f5267e76fbfa1041 (diff)
downloadabaddon-portaudio-fd72d91ceef0bba92fe886719b6e30e81f9ec838.tar.gz
abaddon-portaudio-fd72d91ceef0bba92fe886719b6e30e81f9ec838.zip
handle merged_members in ready object
this way you dont have to load a channel to make the client aware of your permissions
Diffstat (limited to 'discord/member.hpp')
-rw-r--r--discord/member.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/member.hpp b/discord/member.hpp
index 8a9d609..5910f18 100644
--- a/discord/member.hpp
+++ b/discord/member.hpp
@@ -14,6 +14,7 @@ struct GuildMember {
std::optional<std::string> PremiumSince; // null
bool IsDeafened;
bool IsMuted;
+ std::optional<Snowflake> UserID; // present in merged_members
std::vector<RoleData> GetSortedRoles() const;