From b3cad744424c6122f6989500ad79c9cab273a3e1 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 10 Jul 2017 06:14:51 -0400 Subject: [PATCH] Message content is Optional in Message.edit. --- discord/message.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/discord/message.py b/discord/message.py index 3efea9fb7..678d9f37d 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.