diff --git a/watchdog.py b/watchdog.py index f04b4bd..033c606 100644 --- a/watchdog.py +++ b/watchdog.py @@ -61,10 +61,10 @@ class Watchdog(commands.AutoShardedBot): joined = member.joined_at.strftime('%s') registered = member.created_at.strftime('%s') embed.set_author(name=f"User left", - icon_url=member.avatar.replace(size=64, + icon_url=member.display_avatar.replace(size=64, static_format="png") ) - embed.set_thumbnail(url=member.avatar.replace(size=1024, + embed.set_thumbnail(url=member.display_avatar.replace(size=1024, static_format="png") ) @@ -90,10 +90,10 @@ class Watchdog(commands.AutoShardedBot): joined = member.joined_at.strftime('%s') registered = member.created_at.strftime('%s') embed.set_author(name=f"User joined", - icon_url=member.avatar.replace(size=64, + icon_url=member.display_avatar.replace(size=64, static_format="png") ) - embed.set_thumbnail(url=member.avatar.replace(size=1024, + embed.set_thumbnail(url=member.display_avatar.replace(size=1024, static_format="png") )