Skip to content
Merged
15 changes: 6 additions & 9 deletions discord/member.py
Original file line number Diff line number Diff line change
Expand Up @@ -650,9 +650,8 @@ def display_name(self) -> str:
def display_avatar(self) -> Asset:
"""Returns the member's display avatar.

For regular members this is just their avatar, but
if they have a guild specific avatar then that
is returned instead.
Returns the user's guild avatar.
If the user does not have a guild avatar, their global avatar is returned instead.

.. versionadded:: 2.0
"""
Expand All @@ -675,9 +674,8 @@ def guild_avatar(self) -> Asset | None:
def display_avatar_decoration(self) -> Asset | None:
"""Returns the member's displayed avatar decoration.

For regular members this is just their avatar decoration, but
if they have a guild specific avatar decoration then that
is returned instead.
Returns the user's guild avatar decoration.
If the user does not have a guild avatar decoration, their global avatar decoration is returned instead.

.. versionadded:: 2.8
"""
Expand All @@ -700,9 +698,8 @@ def guild_avatar_decoration(self) -> Asset | None:
def display_banner(self) -> Asset | None:
"""Returns the member's display banner.

For regular members this is just their banner, but
if they have a guild specific banner then that
is returned instead.
Returns the user's guild banner.
If the user does not have a guild banner, their global banner is returned instead.

.. versionadded:: 2.7
"""
Expand Down
2 changes: 1 addition & 1 deletion discord/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def default_avatar(self) -> Asset:
def display_avatar(self) -> Asset:
"""Returns the user's display avatar.

For regular users this is just their default avatar or uploaded avatar.
This is just their default avatar or uploaded avatar.
Comment thread
Paillat-dev marked this conversation as resolved.
Outdated

.. versionadded:: 2.0
"""
Expand Down
Loading