aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2021-08-22 07:06:54 -0400
committerRapptz <[email protected]>2021-08-22 07:07:26 -0400
commitd7a42300077c7f5761401884a76682db96e75939 (patch)
treefeb0c39c75fbf5bf38361856173ff0bd8d3bfdc8
parent[types] Add avatar to Member typings (diff)
downloaddiscord.py-d7a42300077c7f5761401884a76682db96e75939.tar.xz
discord.py-d7a42300077c7f5761401884a76682db96e75939.zip
Fix Member.guild_avatar docstring
-rw-r--r--discord/member.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/member.py b/discord/member.py
index b85bb82c..939350d6 100644
--- a/discord/member.py
+++ b/discord/member.py
@@ -517,8 +517,8 @@ class Member(discord.abc.Messageable, _UserTag):
@property
def guild_avatar(self) -> Optional[Asset]:
- """Optional[:class:`Asset`:] Returns an :class:`Asset` for the guild avatar
- the member has if available.
+ """Optional[:class:`Asset`]: Returns an :class:`Asset` for the guild avatar
+ the member has. If unavailable, ``None`` is returned.
.. versionadded:: 2.0
"""