Replace display name in author with User for less repitition
This commit is contained in:
parent
029cd01461
commit
679f73de68
@ -60,7 +60,7 @@ class Watchdog(commands.AutoShardedBot):
|
|||||||
|
|
||||||
joined = member.joined_at.strftime('%s')
|
joined = member.joined_at.strftime('%s')
|
||||||
registered = member.created_at.strftime('%s')
|
registered = member.created_at.strftime('%s')
|
||||||
embed.set_author(name=f"{member.display_name} left",
|
embed.set_author(name=f"User left",
|
||||||
icon_url=member.avatar.replace(size=64,
|
icon_url=member.avatar.replace(size=64,
|
||||||
static_format="png")
|
static_format="png")
|
||||||
)
|
)
|
||||||
@ -89,7 +89,7 @@ class Watchdog(commands.AutoShardedBot):
|
|||||||
|
|
||||||
joined = member.joined_at.strftime('%s')
|
joined = member.joined_at.strftime('%s')
|
||||||
registered = member.created_at.strftime('%s')
|
registered = member.created_at.strftime('%s')
|
||||||
embed.set_author(name=f"{member.display_name} joined",
|
embed.set_author(name=f"User joined",
|
||||||
icon_url=member.avatar.replace(size=64,
|
icon_url=member.avatar.replace(size=64,
|
||||||
static_format="png")
|
static_format="png")
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user