diff options
| author | Io Mintz <[email protected]> | 2019-12-18 04:36:19 +0000 |
|---|---|---|
| committer | Danny <[email protected]> | 2019-12-17 23:36:19 -0500 |
| commit | ecff52a7e836c4ca7cc6259662b26e8bbeb4f2bd (patch) | |
| tree | 200958321fe1df20fca67c1901e6eb425867c8f9 | |
| parent | Wait 5 seconds before IDENTIFYing with an invalidated session. (diff) | |
| download | discord.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.py | 2 |
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 ------ |