1
0
mirror of https://github.com/musix-org/musix-oss synced 2025-07-07 07:30:50 +00:00

some fixes and updates

This commit is contained in:
MatteZ02
2020-06-04 17:46:43 +03:00
parent 35dba3b137
commit 2b60f0ec12
7 changed files with 13 additions and 15 deletions

View File

@ -19,9 +19,6 @@ module.exports = {
}
}
if (oldState.channel.members.size === 1 && oldState.channel === queue.voiceChannel || change) {
queue.textChannel.send(client.messages.leftAlonePaused);
queue.paused = true;
queue.connection.dispatcher.pause(true);
setTimeout(() => {
if (!queue || !queue.connection.dispatcher || queue.connection.dispatcher === null) return;
if (queue.voiceChannel.members.size === 1) {