Fix overloads on Webhook.send to not require wait kwarg

This commit is contained in:
Rapptz 2021-04-15 19:36:36 -04:00
parent 0542b129c2
commit 90d59bb06c
2 changed files with 2 additions and 2 deletions

View File

@ -1155,7 +1155,7 @@ class Webhook(BaseWebhook):
embed: Embed = MISSING,
embeds: List[Embed] = MISSING,
allowed_mentions: AllowedMentions = MISSING,
wait: Literal[False],
wait: Literal[False] = ...,
) -> None:
...

View File

@ -734,7 +734,7 @@ class SyncWebhook(BaseWebhook):
embed: Embed = MISSING,
embeds: List[Embed] = MISSING,
allowed_mentions: AllowedMentions = MISSING,
wait: Literal[False],
wait: Literal[False] = ...,
) -> None:
...