Merge pull request #58
* FIxed `userinfo` command not returning an avatar... * Quick merge conflict fix * Merge branch '2.0' into converter-example-fix * Fix code style issues with Black
This commit is contained in:
parent
6a63ce2ed7
commit
cd4bb296f3
@ -27,7 +27,7 @@ async def userinfo(ctx: commands.Context, user: discord.User):
|
|||||||
# and can do the following:
|
# and can do the following:
|
||||||
user_id = user.id
|
user_id = user.id
|
||||||
username = user.name
|
username = user.name
|
||||||
avatar = user.avatar.url
|
avatar = user.display_avatar.url
|
||||||
await ctx.send(f"User found: {user_id} -- {username}\n{avatar}")
|
await ctx.send(f"User found: {user_id} -- {username}\n{avatar}")
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user