mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-04 00:55:19 +00:00
Message content is Optional in Message.edit.
This commit is contained in:
@ -508,8 +508,9 @@ class Message:
|
||||
|
||||
Parameters
|
||||
-----------
|
||||
content: str
|
||||
content: Optional[str]
|
||||
The new content to replace the message with.
|
||||
Could be ``None`` to remove the content.
|
||||
embed: Optional[:class:`Embed`]
|
||||
The new embed to replace the original with.
|
||||
Could be ``None`` to remove the embed.
|
||||
|
Reference in New Issue
Block a user