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

j0hnmeow picture j0hnmeow  路  3Comments

synbitz picture synbitz  路  3Comments

Yolotroll101 picture Yolotroll101  路  3Comments

AraHaan picture AraHaan  路  3Comments

JackL0 picture JackL0  路  3Comments