Fix stray colon in Asset related docstrings

This commit is contained in:
Rapptz
2019-06-04 19:06:31 -04:00
parent 9674055c2a
commit fcf02414fe
3 changed files with 6 additions and 6 deletions

View File

@ -523,7 +523,7 @@ class Webhook:
@property
def avatar_url(self):
"""Returns a :class:`Asset`: for the avatar the webhook has.
"""Returns a :class:`Asset` for the avatar the webhook has.
If the webhook does not have a traditional avatar, an asset for
the default avatar is returned instead.
@ -534,7 +534,7 @@ class Webhook:
return self.avatar_url_as()
def avatar_url_as(self, *, format=None, size=1024):
"""Returns a :class:`Asset`: for the avatar the webhook has.
"""Returns a :class:`Asset` for the avatar the webhook has.
If the webhook does not have a traditional avatar, an asset for
the default avatar is returned instead.