Set static format to png

This commit is contained in:
Jeremy Zhang 2018-08-03 21:59:17 +00:00
parent f3be159853
commit b763907feb

View File

@ -43,7 +43,7 @@ def get_formatted_message(message):
def get_formatted_user(user): def get_formatted_user(user):
userobj = { userobj = {
"avatar": user.avatar, "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:], "color": str(user.color)[1:],
"discriminator": user.discriminator, "discriminator": user.discriminator,
"game": None, "game": None,