Browse Source

Add missing error for Message.edit

pull/10109/head
iyad-f 7 months ago
committed by dolfies
parent
commit
1cf3d6a04e
  1. 4
      discord/message.py

4
discord/message.py

@ -876,6 +876,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``
@ -2384,6 +2386,8 @@ class Message(PartialMessage, Hashable):
Forbidden
Tried to suppress a message without permissions or
edit a message that isn't yours.
NotFound
This message does not exist.
Returns
--------

Loading…
Cancel
Save