use display_avatar instead of avatar
This commit is contained in:
parent
65dce823e7
commit
8ea79a5dbe
@ -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")
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user