Updated looping function

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

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 {