diff options
| author | Rapptz <[email protected]> | 2021-04-15 19:36:36 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-04-15 19:36:36 -0400 |
| commit | 90d59bb06cb291b15ba036f7d8ed1b2e3ed4a5c0 (patch) | |
| tree | 5ce7d18c9d256be92e8f366f8268f953bb253cbe /discord/webhook | |
| parent | Fix WebhookMessage.edit documentation (diff) | |
| download | discord.py-90d59bb06cb291b15ba036f7d8ed1b2e3ed4a5c0.tar.xz discord.py-90d59bb06cb291b15ba036f7d8ed1b2e3ed4a5c0.zip | |
Fix overloads on Webhook.send to not require wait kwarg
Diffstat (limited to 'discord/webhook')
| -rw-r--r-- | discord/webhook/async_.py | 2 | ||||
| -rw-r--r-- | 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 143dc710..59fe7e2f 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 7cbbd107..0e2fe6d0 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: ... |