diff options
| author | Rapptz <[email protected]> | 2020-01-18 21:37:06 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-01-18 21:37:06 -0500 |
| commit | a1d41f16d81ec4edfb9db9f0107bef06fee8a819 (patch) | |
| tree | 0d87b58d0106bcdd0ec740e05188c10f5703eb78 /discord/message.py | |
| parent | [commands] Document BucketType separately (diff) | |
| download | discord.py-a1d41f16d81ec4edfb9db9f0107bef06fee8a819.tar.xz discord.py-a1d41f16d81ec4edfb9db9f0107bef06fee8a819.zip | |
Document NotFound exception raise in message deletion endpoints
Diffstat (limited to 'discord/message.py')
| -rw-r--r-- | discord/message.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/message.py b/discord/message.py index 4010a2c3..dfd863a4 100644 --- a/discord/message.py +++ b/discord/message.py @@ -740,6 +740,8 @@ class Message: ------ Forbidden You do not have proper permissions to delete the message. + NotFound + The message was deleted already HTTPException Deleting the message failed. """ |