Closed anna-rmrf closed 3 years ago
since guild.me may be uncached, it may be better to use guild.voiceStates instead, which is what guild.voice did. maybe something like this:
guild.voiceStates.cache.get(client.user.id)?.connection?.disconnect()
or perhaps have guild.me return a member partial if uncached, like guild.owner does in djsl, but that would break things for people who check if guild.me exists
Yeah better leave guild.me
as it is
Since djs dropped the
<guild>.voice
getter, we need to change this to<guild>.me.voice