animated avatars on hover

This commit is contained in:
ouwou
2020-12-22 02:24:09 -05:00
parent 8a2f13795d
commit 81d3ab2f86
4 changed files with 80 additions and 21 deletions

View File

@@ -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;