summaryrefslogtreecommitdiff
path: root/discord/member.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-06-03 03:59:25 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2021-06-03 03:59:25 -0400
commit14d0968c926b36da2d8d4e5c12b456ea52d5f8f3 (patch)
treea23a4a1785c7283ca6b1f4013e91a086a96f1849 /discord/member.hpp
parentfe9642f1f163761d059f48843a125030223fd512 (diff)
downloadabaddon-portaudio-14d0968c926b36da2d8d4e5c12b456ea52d5f8f3.tar.gz
abaddon-portaudio-14d0968c926b36da2d8d4e5c12b456ea52d5f8f3.zip
basic support of per-guild avatars
Diffstat (limited to 'discord/member.hpp')
-rw-r--r--discord/member.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/discord/member.hpp b/discord/member.hpp
index 5910f18..ae93524 100644
--- a/discord/member.hpp
+++ b/discord/member.hpp
@@ -16,6 +16,9 @@ struct GuildMember {
bool IsMuted;
std::optional<Snowflake> UserID; // present in merged_members
+ // undocuemtned moment !!!1
+ std::optional<std::string> Avatar;
+
std::vector<RoleData> GetSortedRoles() const;
void update_from_json(const nlohmann::json &j);