Fixed userinfo
command in converters.py
in examples
not functioning correctly
#58
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "converter-example-fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
discord.py 2.0
did some refactoring with how avatars are handled -User.avatar
no longer returns a default avatar if a user has a default avatar, instead returningNone
(as, well, according to the API, they have none).User.display_avatar
allows default avatars to be returned, though.userinfo
inconverters.py
inexamples
did not account for this change and so could possibly break if the user mentioned for it has a default avatar. This basically fixes that by usingdisplay_avatar
overavatar
.Checklist
LGTM
just fix the conflict
Fixed!