aboutsummaryrefslogtreecommitdiff
path: root/Utilities/Voting.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2024-02-15 17:33:10 -0500
committerAndrew Lee <alee14498@protonmail.com>2024-02-15 17:33:10 -0500
commitec7a6d2cd4b0d25251d5e9691a148a2b07984509 (patch)
treeff60a3e7cbc9746f74af26dce93a9ca8ece5200f /Utilities/Voting.js
parentd98937b34bbb7582f4c13e0d18bcc30febe1d174 (diff)
downloadDLAP-ec7a6d2cd4b0d25251d5e9691a148a2b07984509.tar.gz
DLAP-ec7a6d2cd4b0d25251d5e9691a148a2b07984509.tar.bz2
DLAP-ec7a6d2cd4b0d25251d5e9691a148a2b07984509.zip
Checking if player is not running for reshuffle; Made strings more consistent
Diffstat (limited to 'Utilities/Voting.js')
-rw-r--r--Utilities/Voting.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/Utilities/Voting.js b/Utilities/Voting.js
index 0d986b8..452dc55 100644
--- a/Utilities/Voting.js
+++ b/Utilities/Voting.js
@@ -82,7 +82,7 @@ export async function voteSkip(interaction, bot) {
await interaction.reply({ content: t('votesNeeded', { votesRequired: votesRequired - 1 }) });
}
} else if (playerStatus === 2) {
- return await interaction.reply({ content: t('cannotPlay'), ephemeral: true });
+ return await interaction.reply({ content: t('playerStopped'), ephemeral: true });
}
}
@@ -94,7 +94,7 @@ export async function voteSkip(interaction, bot) {
// Do something to skip the audio track here (e.g. player.stop())
await commandCheck(interaction, bot);
} else if (playerStatus === 2) {
- return await interaction.reply({ content: t('cannotPlay'), ephemeral: true });
+ return await interaction.reply({ content: t('playerStopped'), ephemeral: true });
}
}
}