From 8602fb40fa041739fa4906c5e5cfe3628e3a1e85 Mon Sep 17 00:00:00 2001 From: plun1331 <49261529+plun1331@users.noreply.github.com> Date: Fri, 15 Apr 2022 21:08:00 -0700 Subject: [PATCH] Fix PartialMessage.edit --- discord/message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/message.py b/discord/message.py index 6bb75be045..773bd34cef 100644 --- a/discord/message.py +++ b/discord/message.py @@ -1869,7 +1869,7 @@ async def edit(self, **fields: Any) -> Optional[Message]: content = fields.pop("content", MISSING) if content is not MISSING: - fields["content"] = str(content) + fields["content"] = str(content) if content is not None else None embed = fields.pop("embed", MISSING) embeds = fields.pop("embeds", MISSING)