Fix overloads on Webhook.send to not require wait kwarg
This commit is contained in:
parent
0542b129c2
commit
90d59bb06c
@ -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:
|
||||
...
|
||||
|
||||
|
@ -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:
|
||||
...
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user