aboutsummaryrefslogtreecommitdiff
path: root/commands/reshuffle.js
diff options
context:
space:
mode:
Diffstat (limited to 'commands/reshuffle.js')
-rw-r--r--commands/reshuffle.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/reshuffle.js b/commands/reshuffle.js
index 5312d68..e311e19 100644
--- a/commands/reshuffle.js
+++ b/commands/reshuffle.js
@@ -28,10 +28,10 @@ export default {
.setName('reshuffle')
.setDescription('Reshuffles the playlist')
.setDefaultMemberPermissions(PermissionFlagsBits.Administrator),
- async execute(interaction) {
+ async execute(interaction, bot) {
// Command not fully functional yet
await interaction.reply({content:`Reshuffling the playlist...`, ephemeral:true});
player.stop();
- return await shufflePlaylist();
+ return await shufflePlaylist(bot);
},
}; \ No newline at end of file