From dc67d2bd8555ea37ff455b9077fb58712cc0f2fb Mon Sep 17 00:00:00 2001 From: Josh Date: Mon, 3 May 2021 14:31:07 +1000 Subject: Replace uses of Ellipsis as sentinels with utils.MISSING --- discord/webhook/async_.py | 2 +- discord/webhook/sync.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'discord/webhook') 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, -- cgit v1.2.3