mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Disable voice cache in weird intent configurations.
This commit is contained in:
parent
e644a5a060
commit
213f55ffc7
@ -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…
x
Reference in New Issue
Block a user