Discord.py: Documentation error

Created on 3 Nov 2020  路  2Comments  路  Source: Rapptz/discord.py

I have found an error in the documentation page : for the User object, avatar and avatar_url are inverted

avatar
avatar_url

Ps : I'm french and my english aren't good

bug

Most helpful comment

I'm not sure what you mean by inverted- user.avatar returns the hash, which matches what the docs say, and user.avatar_url returns an Asset object, which matches the docs.

Weather or not it makes sense for user.avatar_url to return an asset is a matter of contention but that's a separate issue.

All 2 comments

I'm not sure what you mean by inverted- user.avatar returns the hash, which matches what the docs say, and user.avatar_url returns an Asset object, which matches the docs.

Weather or not it makes sense for user.avatar_url to return an asset is a matter of contention but that's a separate issue.

Yes, I was wrong, sorry...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

imayhaveborkedit picture imayhaveborkedit  路  58Comments

TomOrth picture TomOrth  路  15Comments

xomien picture xomien  路  17Comments

marcoshuck picture marcoshuck  路  16Comments

ThePiGuy24 picture ThePiGuy24  路  17Comments