diff options
| author | Rapptz <[email protected]> | 2017-07-10 06:14:51 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-07-10 06:14:51 -0400 |
| commit | b3cad744424c6122f6989500ad79c9cab273a3e1 (patch) | |
| tree | 632e5a9bf30ed378e8197d3264ad27683ba8ea22 | |
| parent | Simplify embed timestamp code due to it being fixed Discord side. (diff) | |
| download | discord.py-b3cad744424c6122f6989500ad79c9cab273a3e1.tar.xz discord.py-b3cad744424c6122f6989500ad79c9cab273a3e1.zip | |
Message content is Optional in Message.edit.
| -rw-r--r-- | discord/message.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/discord/message.py b/discord/message.py index 3efea9fb..678d9f37 100644 --- a/discord/message.py +++ b/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. |