From 1273941f1963063c2d6aa21420fbc9e0bac506d5 Mon Sep 17 00:00:00 2001 From: iyad-f <128908811+iyad-f@users.noreply.github.com> Date: Thu, 10 Oct 2024 12:40:03 +0530 Subject: [PATCH] docs: Add missing error for Message.edit (#2604) added missing not found error --- discord/message.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/discord/message.py b/discord/message.py index 56d1cec968..64df3559f3 100644 --- a/discord/message.py +++ b/discord/message.py @@ -1548,6 +1548,8 @@ async def edit( Raises ------ + NotFound + The message was not found. HTTPException Editing the message failed. Forbidden