aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2022-07-09 18:14:04 -0400
committerAndrew Lee <alee14498@protonmail.com>2022-07-09 18:14:04 -0400
commit4c26fbcb7e1674d5ccbb5468a32cd4a2bc2a315b (patch)
treef91ac58fce61454b41557c11938bd9620c973e15 /commands
parent32f8d995abd20b1f2b82dc98a108b0a762dc6b1b (diff)
downloadDLAP-4c26fbcb7e1674d5ccbb5468a32cd4a2bc2a315b.tar.gz
DLAP-4c26fbcb7e1674d5ccbb5468a32cd4a2bc2a315b.tar.bz2
DLAP-4c26fbcb7e1674d5ccbb5468a32cd4a2bc2a315b.zip
Fixed reshuffle and shuffle; Player has error event
Diffstat (limited to 'commands')
-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