aboutsummaryrefslogtreecommitdiff
path: root/discord/webhook.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2019-06-04 19:06:31 -0400
committerRapptz <[email protected]>2019-06-04 19:06:31 -0400
commitfcf02414febfeffb11b798bb1ffa2bb4e27b0026 (patch)
tree1db7bddae00e14290e5d051303e57f9f623bbce6 /discord/webhook.py
parentAdd support for animated guild icons. (diff)
downloaddiscord.py-fcf02414febfeffb11b798bb1ffa2bb4e27b0026.tar.xz
discord.py-fcf02414febfeffb11b798bb1ffa2bb4e27b0026.zip
Fix stray colon in Asset related docstrings
Diffstat (limited to 'discord/webhook.py')
-rw-r--r--discord/webhook.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/webhook.py b/discord/webhook.py
index 88406937..98416e57 100644
--- a/discord/webhook.py
+++ b/discord/webhook.py
@@ -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.