aboutsummaryrefslogtreecommitdiff
path: root/commands/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'commands/play.js')
-rw-r--r--commands/play.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/play.js b/commands/play.js
index 3b226ec..4c95ab8 100644
--- a/commands/play.js
+++ b/commands/play.js
@@ -48,7 +48,7 @@ export default {
return await interaction.reply({ content: 'Number is too big, choose a number that\'s less than ' + files.length + '.', ephemeral: true });
}
}
- if (isAudioStatePaused === true) {
+ if (isAudioStatePaused) {
toggleAudioState();
return await interaction.reply({ content: 'Resuming music', ephemeral: true });
} else {