From b5d987347a3f9d190210f9f3ae26d095407c81be Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 21 Aug 2017 02:08:47 -0400 Subject: [PATCH] Fix some docstrings. --- discord/webhook.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/discord/webhook.py b/discord/webhook.py index f9199e456..bd9806b35 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)