aboutsummaryrefslogtreecommitdiff
path: root/discord/webhook
diff options
context:
space:
mode:
Diffstat (limited to 'discord/webhook')
-rw-r--r--discord/webhook/async_.py2
-rw-r--r--discord/webhook/sync.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/discord/webhook/async_.py b/discord/webhook/async_.py
index 99a9cc48..8daa62ca 100644
--- a/discord/webhook/async_.py
+++ b/discord/webhook/async_.py
@@ -1179,7 +1179,7 @@ class Webhook(BaseWebhook):
previous_mentions: Optional[AllowedMentions] = getattr(self._state, 'allowed_mentions', None)
if content is None:
- content = ... # type: ignore
+ content = MISSING
params = handle_message_parameters(
content=content,
diff --git a/discord/webhook/sync.py b/discord/webhook/sync.py
index 26978299..635633fd 100644
--- a/discord/webhook/sync.py
+++ b/discord/webhook/sync.py
@@ -853,7 +853,7 @@ class SyncWebhook(BaseWebhook):
previous_mentions: Optional[AllowedMentions] = getattr(self._state, 'allowed_mentions', None)
if content is None:
- content = ... # type: ignore
+ content = MISSING
params = handle_message_parameters(
content=content,