mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 12:18:59 +00:00
Message content is Optional in Message.edit.
This commit is contained in:
parent
1d3bb1f510
commit
b3cad74442
@ -508,8 +508,9 @@ class Message:
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
-----------
|
-----------
|
||||||
content: str
|
content: Optional[str]
|
||||||
The new content to replace the message with.
|
The new content to replace the message with.
|
||||||
|
Could be ``None`` to remove the content.
|
||||||
embed: Optional[:class:`Embed`]
|
embed: Optional[:class:`Embed`]
|
||||||
The new embed to replace the original with.
|
The new embed to replace the original with.
|
||||||
Could be ``None`` to remove the embed.
|
Could be ``None`` to remove the embed.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user