From 4c26fbcb7e1674d5ccbb5468a32cd4a2bc2a315b Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sat, 9 Jul 2022 18:14:04 -0400 Subject: Fixed reshuffle and shuffle; Player has error event --- commands/reshuffle.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'commands') 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 -- cgit v1.2.3