diff options
| author | Sebastian Law <[email protected]> | 2020-06-28 00:45:58 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-06-28 03:45:58 -0400 |
| commit | b4b953bfc66adc235e06774b0481ceb847753793 (patch) | |
| tree | 2d0cbd871944e3a5184b2dbec75dc59ddabad6d5 /discord/user.py | |
| parent | Fix a KeyError for channels with no category in Guild.by_category (diff) | |
| download | discord.py-b4b953bfc66adc235e06774b0481ceb847753793.tar.xz discord.py-b4b953bfc66adc235e06774b0481ceb847753793.zip | |
Fix various inconsistencies within the documentation (#5067)
Diffstat (limited to 'discord/user.py')
| -rw-r--r-- | discord/user.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/user.py b/discord/user.py index 1f5c508a..e5e9640d 100644 --- a/discord/user.py +++ b/discord/user.py @@ -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:: |