mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-06 09:56:09 +00:00
Message content is Optional in Message.edit.
This commit is contained in:
@ -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.
|
||||||
|
Reference in New Issue
Block a user