mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-08 04:38:42 +00:00
Add missing error for Message.edit
This commit is contained in:
parent
58b6929aa5
commit
9d7c253535
@ -1102,6 +1102,8 @@ class PartialMessage(Hashable):
|
|||||||
Forbidden
|
Forbidden
|
||||||
Tried to suppress a message without permissions or
|
Tried to suppress a message without permissions or
|
||||||
edited a message's content or embed that isn't yours.
|
edited a message's content or embed that isn't yours.
|
||||||
|
NotFound
|
||||||
|
This message does not exist.
|
||||||
TypeError
|
TypeError
|
||||||
You specified both ``embed`` and ``embeds``
|
You specified both ``embed`` and ``embeds``
|
||||||
|
|
||||||
@ -2529,6 +2531,8 @@ class Message(PartialMessage, Hashable):
|
|||||||
Forbidden
|
Forbidden
|
||||||
Tried to suppress a message without permissions or
|
Tried to suppress a message without permissions or
|
||||||
edited a message's content or embed that isn't yours.
|
edited a message's content or embed that isn't yours.
|
||||||
|
NotFound
|
||||||
|
This message does not exist.
|
||||||
TypeError
|
TypeError
|
||||||
You specified both ``embed`` and ``embeds``
|
You specified both ``embed`` and ``embeds``
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user