aboutsummaryrefslogtreecommitdiff
path: root/commands/reshuffle.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2022-12-04 01:55:58 -0500
committerAndrew Lee <alee14498@protonmail.com>2022-12-04 01:55:58 -0500
commitf91f277a30a081cde95805bf39adeb835be98c3f (patch)
tree86c3c8c1299dcf33a180c87c16e7d37bade0291f /commands/reshuffle.js
parentc576ed4e454fe6b4974e7ad873670e3adc9d0a96 (diff)
downloadDLAP-f91f277a30a081cde95805bf39adeb835be98c3f.tar.gz
DLAP-f91f277a30a081cde95805bf39adeb835be98c3f.tar.bz2
DLAP-f91f277a30a081cde95805bf39adeb835be98c3f.zip
Added repeat toggle; Did some optiminizations to the code
Diffstat (limited to 'commands/reshuffle.js')
-rw-r--r--commands/reshuffle.js2
1 files changed, 1 insertions, 1 deletions
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 });
}
};