mirror of
https://github.com/yawaflua/Flask-Discord.git
synced 2025-12-10 04:19:31 +02:00
Add support for animated avatars
This commit is contained in:
@@ -15,6 +15,7 @@ DEFAULT_SCOPES = [
|
||||
|
||||
|
||||
IMAGE_BASE_URL = "https://cdn.discordapp.com/"
|
||||
|
||||
USER_AVATAR_BASE_URL = IMAGE_BASE_URL + "avatars/{user_id}/{avatar_hash}.png"
|
||||
IMAGE_FORMAT = "png"
|
||||
ANIMATED_IMAGE_FORMAT = "gif"
|
||||
USER_AVATAR_BASE_URL = IMAGE_BASE_URL + "avatars/{user_id}/{avatar_hash}.{format}"
|
||||
GUILD_ICON_BASE_URL = IMAGE_BASE_URL + "icons/{guild_id}/{icon_hash}.png"
|
||||
|
||||
Reference in New Issue
Block a user