Browse Source

Message content is Optional in Message.edit.

pull/640/head
Rapptz 8 years ago
parent
commit
b3cad74442
  1. 3
      discord/message.py

3
discord/message.py

@ -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.

Loading…
Cancel
Save