Fixed userinfo command in converters.py in examples not functioning correctly
#58
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.0did some refactoring with how avatars are handled -User.avatarno 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_avatarallows default avatars to be returned, though.userinfoinconverters.pyinexamplesdid 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_avataroveravatar.Checklist
LGTM
just fix the conflict
Fixed!