Add missing error for Message.edit

This commit is contained in:
iyad-f
2024-10-09 18:11:27 -04:00
committed by GitHub
parent 58b6929aa5
commit 9d7c253535
+4
View File
@@ -1102,6 +1102,8 @@ class PartialMessage(Hashable):
Forbidden
Tried to suppress a message without permissions or
edited a message's content or embed that isn't yours.
NotFound
This message does not exist.
TypeError
You specified both ``embed`` and ``embeds``
@@ -2529,6 +2531,8 @@ class Message(PartialMessage, Hashable):
Forbidden
Tried to suppress a message without permissions or
edited a message's content or embed that isn't yours.
NotFound
This message does not exist.
TypeError
You specified both ``embed`` and ``embeds``