From f91f277a30a081cde95805bf39adeb835be98c3f Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sun, 4 Dec 2022 01:55:58 -0500 Subject: Added repeat toggle; Did some optiminizations to the code --- commands/reshuffle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/reshuffle.js') diff --git a/commands/reshuffle.js b/commands/reshuffle.js index f60bb1c..e1d37d0 100644 --- a/commands/reshuffle.js +++ b/commands/reshuffle.js @@ -39,6 +39,6 @@ export default { await audioState(2); await shufflePlaylist(bot); } - return (shuffle === true) ? await shuffleDetected(bot) : await interaction.reply({ content: 'Shuffle mode is disabled, enable it in the configuration file to access this command.', ephemeral: true }); + return (shuffle) ? await shuffleDetected(bot) : await interaction.reply({ content: 'Shuffle mode is disabled, enable it in the configuration file to access this command.', ephemeral: true }); } }; -- cgit v1.2.3