aboutsummaryrefslogtreecommitdiff
path: root/discord/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/utils.py')
-rw-r--r--discord/utils.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/discord/utils.py b/discord/utils.py
index d78c35a9..b2068ee5 100644
--- a/discord/utils.py
+++ b/discord/utils.py
@@ -79,6 +79,17 @@ __all__ = (
DISCORD_EPOCH = 1420070400000
+class _MissingSentinel:
+ def __eq__(self, other):
+ return False
+
+ def __repr__(self):
+ return '...'
+
+
+MISSING: Any = _MissingSentinel()
+
+
class _cached_property:
def __init__(self, function):
self.function = function