mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-07 17:39:03 +00:00
Add missing error for Message.edit
This commit is contained in:
1 parent
58b6929aa5
commit
9d7c253535
1 file changed
+4
@@ -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``
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user