diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-06-04 02:39:35 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-06-04 02:39:35 -0400 |
commit | 43ea62d444b41e9ffff785ede2620b2e64fbb3b7 (patch) | |
tree | 95ccd96da8a15a4ce6586b8a065277770999087a /discord/member.cpp | |
parent | 79c00c68e5845b496f6d3163d6fbc6e1c6de56ae (diff) | |
parent | 28b33d1b220aef5558ef58eb1326510ccccf5361 (diff) | |
download | abaddon-portaudio-43ea62d444b41e9ffff785ede2620b2e64fbb3b7.tar.gz abaddon-portaudio-43ea62d444b41e9ffff785ede2620b2e64fbb3b7.zip |
merge
Diffstat (limited to 'discord/member.cpp')
-rw-r--r-- | discord/member.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/member.cpp b/discord/member.cpp index fee007f..c7d2e4a 100644 --- a/discord/member.cpp +++ b/discord/member.cpp @@ -10,6 +10,7 @@ void from_json(const nlohmann::json &j, GuildMember &m) { JS_D("deaf", m.IsDeafened); JS_D("mute", m.IsMuted); JS_O("user_id", m.UserID); + JS_ON("avatar", m.Avatar); } std::vector<RoleData> GuildMember::GetSortedRoles() const { @@ -33,4 +34,5 @@ void GuildMember::update_from_json(const nlohmann::json &j) { JS_RD("nick", Nickname); JS_RD("joined_at", JoinedAt); JS_RD("premium_since", PremiumSince); + JS_RD("avatar", Avatar); } |