Don't store a user cache if there's no member intent or cache is off
Without a cache or member intent the user cache can get out of date with no events to update the underlying user in the member object. Ref: #6034
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user