Updated looping

This commit is contained in:
MatteZ02 committed 2019-10-12 12:49:24 +03:00
1 parent 8c117edd1e
commit 970ec44de8
5 files changed
+5 -9

No files matched your search

-2
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 {