From ec7a6d2cd4b0d25251d5e9691a148a2b07984509 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Thu, 15 Feb 2024 17:33:10 -0500 Subject: Checking if player is not running for reshuffle; Made strings more consistent --- Utilities/Voting.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Utilities/Voting.js') 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 }); } } } -- cgit v1.2.3