From 90d59bb06cb291b15ba036f7d8ed1b2e3ed4a5c0 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Thu, 15 Apr 2021 19:36:36 -0400 Subject: [PATCH] Fix overloads on Webhook.send to not require wait kwarg --- discord/webhook/async_.py | 2 +- discord/webhook/sync.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/webhook/async_.py b/discord/webhook/async_.py index 143dc7100..59fe7e2fe 100644 --- a/discord/webhook/async_.py +++ b/discord/webhook/async_.py @@ -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: ... diff --git a/discord/webhook/sync.py b/discord/webhook/sync.py index 7cbbd1078..0e2fe6d01 100644 --- a/discord/webhook/sync.py +++ b/discord/webhook/sync.py @@ -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: ...