aboutsummaryrefslogtreecommitdiff
path: root/discord/webhook/async_.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/webhook/async_.py')
-rw-r--r--discord/webhook/async_.py13
1 files changed, 2 insertions, 11 deletions
diff --git a/discord/webhook/async_.py b/discord/webhook/async_.py
index 32552455..2a42b52b 100644
--- a/discord/webhook/async_.py
+++ b/discord/webhook/async_.py
@@ -28,7 +28,6 @@ import contextvars
import logging
import asyncio
import json
-import time
import re
from urllib.parse import quote as urlquote
@@ -67,16 +66,7 @@ if TYPE_CHECKING:
from ..abc import Snowflake
import datetime
-
-class _Missing:
- def __bool__(self):
- return False
-
- def __repr__(self):
- return '...'
-
-
-MISSING: Any = _Missing()
+MISSING = utils.MISSING
class AsyncDeferredLock:
@@ -731,6 +721,7 @@ class BaseWebhook(Hashable):
return Asset._from_default_avatar(self._state, 0)
return Asset._from_avatar(self._state, self.id, self._avatar)
+
class Webhook(BaseWebhook):
"""Represents an asynchronous Discord webhook.