Skip to content
This repository was archived by the owner on Oct 2, 2023. It is now read-only.

Commit e17d33f

Browse files
author
noebou
authored
Update cog.py
Set thumbnail of joined command to avatar of user
1 parent 87a5bbd commit e17d33f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

information/user_info/cog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@ async def joined(self, ctx: Context, member: Member = None):
328328
title=t.userinfo,
329329
description=f"{member.mention} {date_diff_to_str(datetime.today(), ts)}",
330330
)
331+
embed.set_thumbnail(url=member.avatar_url)
331332
await reply(ctx, embed=embed)
332333

333334
@commands.command()

0 commit comments

Comments
 (0)