Fixed userinfo command in converters.py in examples not functioning correctly #58

Merged
Astrea49 merged 4 commits from converter-example-fix into 2.0 2021-09-21 18:52:55 +00:00
Showing only changes of commit 8df08bc5ff - Show all commits

View File

@@ -28,7 +28,7 @@ async def userinfo(ctx: commands.Context, user: discord.User):
user_id = user.id
username = user.name
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}")
@userinfo.error
async def userinfo_error(ctx: commands.Context, error: commands.CommandError):