aboutsummaryrefslogtreecommitdiff
path: root/discord
diff options
context:
space:
mode:
authorStocker <[email protected]>2021-08-23 05:24:43 -0400
committerGitHub <[email protected]>2021-08-23 05:24:43 -0400
commit400936df6989748c2ec391778088a07af355dbcf (patch)
tree34bc6dbaa3ae67a8138c4fc65520438eab1d351d /discord
parentAdded type: ignores where needed to activity.py (diff)
downloaddiscord.py-400936df6989748c2ec391778088a07af355dbcf.tar.xz
discord.py-400936df6989748c2ec391778088a07af355dbcf.zip
Fix type for content param in HTTPClient.send_message
Diffstat (limited to 'discord')
-rw-r--r--discord/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/http.py b/discord/http.py
index 50485294..822a9d39 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,