From 809f093ca3d756eff0dd51b071c7de2aa47ec093 Mon Sep 17 00:00:00 2001 From: Sonic4999 Date: Sun, 5 Sep 2021 13:53:09 -0400 Subject: [PATCH] FIxed `userinfo` command not returning an avatar... ...if the avatar of the user specified is a default avatar --- examples/converters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/converters.py b/examples/converters.py index 54539201..0bf92b49 100644 --- a/examples/converters.py +++ b/examples/converters.py @@ -27,7 +27,7 @@ async def userinfo(ctx: commands.Context, user: discord.User): # and can do the following: user_id = user.id username = user.name - avatar = user.avatar.url + avatar = user.display_avatar.url await ctx.send(f'User found: {user_id} -- {username}\n{avatar}') @userinfo.error