mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +00:00
Update documentation of User.avatar to be more clear
This commit is contained in:
parent
0cd24b73f7
commit
40db618d1e
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user