Disable voice cache in weird intent configurations.

This commit is contained in:
Rapptz 2020-09-15 02:23:38 -04:00
parent e644a5a060
commit 213f55ffc7

View File

@ -778,6 +778,9 @@ class MemberCacheFlags(BaseFlags):
if intents.voice_states:
self.voice = True
if not self.joined and self.online and self.voice:
self.voice = False
return self
def _verify_intents(self, intents):