Add missing error for Message.edit

This commit is contained in:
iyad-f 2024-10-10 03:41:27 +05:30 committed by GitHub
parent 58b6929aa5
commit 9d7c253535
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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``