mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-22 21:13:18 +00:00
Update voiceStateUpdate.js
This commit is contained in:
parent
1a10374015
commit
206eacc307
@ -20,7 +20,7 @@ module.exports = {
|
||||
}
|
||||
if (oldState.channel.members.size === 1 && oldState.channel === queue.voiceChannel || change) {
|
||||
setTimeout(() => {
|
||||
if (!queue) return;
|
||||
if (!queue || !queue.connection.dispatcher || queue.connection.dispatcher === null) return;
|
||||
if (queue.voiceChannel.members.size === 1) {
|
||||
queue.songs = [];
|
||||
queue.looping = false;
|
||||
|
Loading…
Reference in New Issue
Block a user