diff options
| author | Rapptz <[email protected]> | 2019-06-04 19:06:31 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-06-04 19:06:31 -0400 |
| commit | fcf02414febfeffb11b798bb1ffa2bb4e27b0026 (patch) | |
| tree | 1db7bddae00e14290e5d051303e57f9f623bbce6 /discord/user.py | |
| parent | Add support for animated guild icons. (diff) | |
| download | discord.py-fcf02414febfeffb11b798bb1ffa2bb4e27b0026.tar.xz discord.py-fcf02414febfeffb11b798bb1ffa2bb4e27b0026.zip | |
Fix stray colon in Asset related docstrings
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 09b1f753..21358267 100644 --- a/discord/user.py +++ b/discord/user.py @@ -114,7 +114,7 @@ class BaseUser(_BaseUser): @property def avatar_url(self): - """Returns a :class:`Asset`: for the avatar the user has. + """Returns a :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. @@ -129,7 +129,7 @@ class BaseUser(_BaseUser): return bool(self.avatar and self.avatar.startswith('a_')) def avatar_url_as(self, *, format=None, static_format='webp', size=1024): - """Returns a :class:`Asset`: for the avatar the user has. + """Returns a :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. |