Fix various inconsistencies within the documentation (#5067)

This commit is contained in:
Sebastian Law authored and GitHub committed 2020-06-28 03:45:58 -04:00
1 parent f94b00cb48
commit b4b953bfc6
24 files changed
+378 -142

No files matched your search

+2 -2
View File
@@ -139,7 +139,7 @@ class BaseUser(_BaseUser):
@property
def avatar_url(self):
"""Returns an :class:`Asset` for the avatar the user has.
""":class:`Asset`: Returns an :class:`Asset` for the avatar the user has.
If the user does not have a traditional avatar, an asset for
the default avatar is returned instead.
@@ -717,7 +717,7 @@ class User(BaseUser, discord.abc.Messageable):
@property
def relationship(self):
"""Returns the :class:`Relationship` with this user if applicable, ``None`` otherwise.
"""Optional[:class:`Relationship`]: Returns the :class:`Relationship` with this user if applicable, ``None`` otherwise.
.. note::