aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIo Mintz <[email protected]>2019-12-18 04:36:19 +0000
committerDanny <[email protected]>2019-12-17 23:36:19 -0500
commitecff52a7e836c4ca7cc6259662b26e8bbeb4f2bd (patch)
tree200958321fe1df20fca67c1901e6eb425867c8f9
parentWait 5 seconds before IDENTIFYing with an invalidated session. (diff)
downloaddiscord.py-ecff52a7e836c4ca7cc6259662b26e8bbeb4f2bd.tar.xz
discord.py-ecff52a7e836c4ca7cc6259662b26e8bbeb4f2bd.zip
Document the exception-suppressing behaviour of Message.delete
This is already documented for Messageable.send's delete_after kwarg. PR #2481
-rw-r--r--discord/message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/message.py b/discord/message.py
index 71b82fd4..1fd2245a 100644
--- a/discord/message.py
+++ b/discord/message.py
@@ -696,7 +696,7 @@ class Message:
-----------
delay: Optional[:class:`float`]
If provided, the number of seconds to wait in the background
- before deleting the message.
+ before deleting the message. If the deletion fails then it is silently ignored.
Raises
------