mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 12:18:59 +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
|
||||
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``
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user