Browse Source

Disable voice cache in weird intent configurations.

pull/5849/head
Rapptz 5 years ago
parent
commit
213f55ffc7
  1. 3
      discord/flags.py

3
discord/flags.py

@ -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):

Loading…
Cancel
Save