1
0
mirror of https://github.com/musix-org/musix-oss synced 2025-06-16 06:16:00 +00:00

Updated looping function

This commit is contained in:
MatteZ02
2019-10-12 10:05:21 +03:00
parent eceb55edff
commit 6ebbf0216d
6 changed files with 1280 additions and 156 deletions

View File

@ -14,12 +14,10 @@ module.exports = {
}
}
if (!serverQueue.looping) {
client.secondaryQueue = [...serverQueue.songs]
serverQueue.looping = true;
message.channel.send(':repeat: Looping the queue now!');
} else {
serverQueue.looping = false;
client.secondaryQueue = [];
message.channel.send(':repeat: No longer looping the queue!');
}
} else {