diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2024-02-15 17:33:10 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2024-02-15 17:33:10 -0500 |
| commit | ec7a6d2cd4b0d25251d5e9691a148a2b07984509 (patch) | |
| tree | ff60a3e7cbc9746f74af26dce93a9ca8ece5200f /Utilities | |
| parent | d98937b34bbb7582f4c13e0d18bcc30febe1d174 (diff) | |
| download | DLAP-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')
| -rw-r--r-- | Utilities/Voting.js | 4 |
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 }); } } } |
