mirror of
https://github.com/musix-org/musix-oss
synced 2026-10-23 00:45:00 +00:00
Updated looping function
This commit is contained in:
1 parent
eceb55edff
commit
6ebbf0216d
6 files changed
+1280
-156
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user