mirror of
https://github.com/musix-org/musix-oss
synced 2026-11-14 02:41:40 +00:00
Fix code to work on this decade 1/x
This commit is contained in:
1 parent
d609687957
commit
9049a5e6b8
53 files changed
+2455
-1704
No files matched your search
+2
-3
@@ -3,8 +3,7 @@ module.exports = {
|
||||
description: 'Shuffle command.',
|
||||
alias: 'shuffle',
|
||||
cooldown: 5,
|
||||
onlyDev: false,
|
||||
execute(message, args, client, Discord, prefix) {
|
||||
execute(message, args, client, prefix) {
|
||||
const serverQueue = client.queue.get(message.guild.id);
|
||||
let currentIndex = serverQueue.songs.length,
|
||||
temporaryValue,
|
||||
@@ -19,4 +18,4 @@ module.exports = {
|
||||
serverQueue.songs[randomIndex] = temporaryValue;
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
Reference in new issue
Block a user