aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AudioBackend.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/AudioBackend.js b/AudioBackend.js
index d92835a..ac26115 100644
--- a/AudioBackend.js
+++ b/AudioBackend.js
@@ -120,6 +120,7 @@ export async function nextAudio(bot) {
}
export async function previousAudio(bot, interaction) {
+ totalTrack++
if (currentTrack <= 0) {
return await interaction.reply({ content: 'You are at the beginning of the playlist, cannot go further than this', ephemeral: true });
} else {