From 56573af6e6f5a839536483ea51ad1fc163f33458 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Tue, 29 Nov 2022 13:14:17 -0500 Subject: Total track fix --- AudioBackend.js | 1 + 1 file changed, 1 insertion(+) (limited to 'AudioBackend.js') 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 { -- cgit v1.2.3