aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/webhook.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/discord/webhook.py b/discord/webhook.py
index f9199e45..bd9806b3 100644
--- a/discord/webhook.py
+++ b/discord/webhook.py
@@ -433,9 +433,7 @@ class Webhook:
@property
def created_at(self):
- """Returns the webhook's creation time in UTC.
-
- This is when the webhook's discord account was created."""
+ """Returns the webhook's creation time in UTC."""
return utils.snowflake_time(self.id)
@property
@@ -475,7 +473,7 @@ class Webhook:
Raises
------
InvalidArgument
- Bad image format passed to ``format` or invalid ``size``.
+ Bad image format passed to ``format`` or invalid ``size``.
"""
if self.avatar is None:
# Default is always blurple apparently
@@ -648,5 +646,5 @@ class Webhook:
return self._adapter.execute_webhook(wait=wait, json=payload)
def execute(self, *args, **kwargs):
- """An alias for :meth:`.~Webhook.send`."""
+ """An alias for :meth:`~.Webhook.send`."""
return self.send(*args, **kwargs)