aboutsummaryrefslogtreecommitdiff
path: root/discord/flags.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/flags.py')
-rw-r--r--discord/flags.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/discord/flags.py b/discord/flags.py
index 0cc106e5..cd8557a3 100644
--- a/discord/flags.py
+++ b/discord/flags.py
@@ -851,6 +851,10 @@ class MemberCacheFlags(BaseFlags):
self.value = self.DEFAULT_VALUE
return self
+ @property
+ def _empty(self):
+ return self.value == self.DEFAULT_VALUE
+
@flag_value
def online(self):
""":class:`bool`: Whether to cache members with a status.