Skip to content

Commit

Permalink
add thread argument on send overload at sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Makiyu-py committed Nov 1, 2021
1 parent d56dc86 commit 1eea50b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions discord/webhook/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,7 @@ def send(
embed: Embed = MISSING,
embeds: List[Embed] = MISSING,
allowed_mentions: AllowedMentions = MISSING,
thread: Snowflake = MISSING,
wait: Literal[True],
) -> SyncWebhookMessage:
...
Expand All @@ -829,6 +830,7 @@ def send(
embed: Embed = MISSING,
embeds: List[Embed] = MISSING,
allowed_mentions: AllowedMentions = MISSING,
thread: Snowflake = MISSING,
wait: Literal[False] = ...,
) -> None:
...
Expand Down

0 comments on commit 1eea50b

Please sign in to comment.