Update documentation of User.avatar to be more clear

This commit is contained in:
AF-Sources 2023-01-15 00:02:44 +11:00 committed by GitHub
parent 0cd24b73f7
commit 40db618d1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,7 +153,7 @@ class BaseUser(_UserTag):
def avatar(self) -> Optional[Asset]:
"""Optional[:class:`Asset`]: Returns an :class:`Asset` for the avatar the user has.
If the user does not have a traditional avatar, ``None`` is returned.
If the user has not uploaded a global avatar, ``None`` is returned.
If you want the avatar that a user has displayed, consider :attr:`display_avatar`.
"""
if self._avatar is not None: