From 400936df6989748c2ec391778088a07af355dbcf Mon Sep 17 00:00:00 2001 From: Stocker <44980366+StockerMC@users.noreply.github.com> Date: Mon, 23 Aug 2021 05:24:43 -0400 Subject: [PATCH] Fix type for content param in HTTPClient.send_message --- discord/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/http.py b/discord/http.py index 504852945..822a9d395 100644 --- a/discord/http.py +++ b/discord/http.py @@ -412,7 +412,7 @@ class HTTPClient: def send_message( self, channel_id: Snowflake, - content: str, + content: Optional[str], *, tts: bool = False, embed: Optional[embed.Embed] = None,