diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-12-22 02:24:09 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-12-22 02:24:09 -0500 |
commit | 81d3ab2f86e79fc07895f8a288eb3366fc4bddcb (patch) | |
tree | 9a6ab59551562db8188be71b81cb40d8a17712da /discord/user.hpp | |
parent | 8a2f13795ddb13f6a6bb6d67ea409a628fe1d03b (diff) | |
download | abaddon-portaudio-81d3ab2f86e79fc07895f8a288eb3366fc4bddcb.tar.gz abaddon-portaudio-81d3ab2f86e79fc07895f8a288eb3366fc4bddcb.zip |
animated avatars on hover
Diffstat (limited to 'discord/user.hpp')
-rw-r--r-- | discord/user.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/user.hpp b/discord/user.hpp index 6480f57..2427b0b 100644 --- a/discord/user.hpp +++ b/discord/user.hpp @@ -29,6 +29,7 @@ struct User { static void update_from_json(const nlohmann::json &j, User &m); bool HasAvatar() const; + bool HasAnimatedAvatar() const; std::string GetAvatarURL(std::string ext = "png", std::string size = "32") const; Snowflake GetHoistedRole(Snowflake guild_id, bool with_color = false) const; std::string GetMention() const; |