From a1d41f16d81ec4edfb9db9f0107bef06fee8a819 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 18 Jan 2020 21:37:06 -0500 Subject: Document NotFound exception raise in message deletion endpoints --- discord/message.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'discord/message.py') 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. """ -- cgit v1.2.3