diff options
| author | apple502j <[email protected]> | 2021-04-27 21:09:01 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-04-27 08:09:01 -0400 |
| commit | 127b3239e9eb993f6026047cc196962246b39654 (patch) | |
| tree | 51d8b48fd02d5fc94a455c2694e3520f5ecf708e /examples/converters.py | |
| parent | Split annotation resolution to discord.utils (diff) | |
| download | discord.py-127b3239e9eb993f6026047cc196962246b39654.tar.xz discord.py-127b3239e9eb993f6026047cc196962246b39654.zip | |
Fix AttributeError in examples
Diffstat (limited to 'examples/converters.py')
| -rw-r--r-- | examples/converters.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/converters.py b/examples/converters.py index 41aba498..9bd8ae06 100644 --- a/examples/converters.py +++ b/examples/converters.py @@ -28,7 +28,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.avatar.url await ctx.send(f'User found: {user_id} -- {username}\n{avatar}') @userinfo.error |