diff options
| author | Stocker <[email protected]> | 2021-08-23 05:24:43 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-08-23 05:24:43 -0400 |
| commit | 400936df6989748c2ec391778088a07af355dbcf (patch) | |
| tree | 34bc6dbaa3ae67a8138c4fc65520438eab1d351d /discord | |
| parent | Added type: ignores where needed to activity.py (diff) | |
| download | discord.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.py | 2 |
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, |