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:
|
if intents.voice_states:
|
||||||
self.voice = True
|
self.voice = True
|
||||||
|
|
||||||
|
if not self.joined and self.online and self.voice:
|
||||||
|
self.voice = False
|
||||||
|
|
||||||
return self
|
return self
|
||||||
|
|
||||||
def _verify_intents(self, intents):
|
def _verify_intents(self, intents):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user