From b763907feb14ca1aeb95d6cefddf5829b15f2eae Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Fri, 3 Aug 2018 21:59:17 +0000 Subject: [PATCH] Set static format to png --- discordbot/titanembeds/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discordbot/titanembeds/utils.py b/discordbot/titanembeds/utils.py index 19bf43f..1bf7a6e 100644 --- a/discordbot/titanembeds/utils.py +++ b/discordbot/titanembeds/utils.py @@ -43,7 +43,7 @@ def get_formatted_message(message): def get_formatted_user(user): userobj = { "avatar": user.avatar, - "avatar_url": user.avatar_url_as(format="png", size=512), + "avatar_url": user.avatar_url_as(static_format="png", size=512), "color": str(user.color)[1:], "discriminator": user.discriminator, "game": None,