diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2022-11-29 13:14:17 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2022-11-29 13:14:17 -0500 |
| commit | 56573af6e6f5a839536483ea51ad1fc163f33458 (patch) | |
| tree | e7ca71595cfa4ae623cb23285eca21ad49eb4377 | |
| parent | fa84fcb7855e552218ac361ff5297c39418eb413 (diff) | |
| download | DLAP-56573af6e6f5a839536483ea51ad1fc163f33458.tar.gz DLAP-56573af6e6f5a839536483ea51ad1fc163f33458.tar.bz2 DLAP-56573af6e6f5a839536483ea51ad1fc163f33458.zip | |
Total track fix
| -rw-r--r-- | AudioBackend.js | 1 |
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 { |
