aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve C <[email protected]>2020-12-10 20:32:22 -0800
committerGitHub <[email protected]>2020-12-10 23:32:22 -0500
commitbde5bb5d5cdc6d7f5d7beccdc78fb470359b6da2 (patch)
tree5bf1e905d4ac058a2d6a1b84bb1509822430a90a
parentAdd support for editing and deleting webhook messages. (diff)
downloaddiscord.py-bde5bb5d5cdc6d7f5d7beccdc78fb470359b6da2.tar.xz
discord.py-bde5bb5d5cdc6d7f5d7beccdc78fb470359b6da2.zip
Fix WebhookMessages docstrings
Silly danno
-rw-r--r--discord/webhook.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/webhook.py b/discord/webhook.py
index db328dfb..22aa663a 100644
--- a/discord/webhook.py
+++ b/discord/webhook.py
@@ -490,7 +490,7 @@ class WebhookMessage(Message):
Forbidden
You do not have proper permissions to delete the message.
NotFound
- The message was deleted already
+ The message was deleted already.
HTTPException
Deleting the message failed.
"""
@@ -1080,7 +1080,7 @@ class Webhook(Hashable):
Parameters
------------
message_id: :class:`int`
- The message ID to edit.
+ The message ID to delete.
Raises
-------