From b3b70501ecca984abecedb7056f3c10732e651a1 Mon Sep 17 00:00:00 2001 From: HewkawAr Date: Tue, 13 Aug 2024 22:15:55 +0700 Subject: [PATCH] Update queue.js - remove log track - in page from 0/1 to 1/1 --- commands/Music/queue.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/commands/Music/queue.js b/commands/Music/queue.js index 3cb8baa..85778fe 100644 --- a/commands/Music/queue.js +++ b/commands/Music/queue.js @@ -60,7 +60,6 @@ module.exports = { if (track.sourceName == "spotify") { return locale.replacePlaceholders(locale.getLocaleString("command.queue.spotify.raw"), [trackIndex, track.title, track.url, track.author]); } else { - console.log(track); return locale.replacePlaceholders(locale.getLocaleString("command.queue.raw"), [trackIndex, track.title, track.author]); } }).join("\n"); @@ -82,7 +81,7 @@ module.exports = { .setDisabled(page === 0), new ButtonBuilder() .setCustomId("totalPages") - .setLabel(`${currentPage}/${totalPages}`) + .setLabel(`${currentPage + 1}/${totalPages}`) .setStyle(ButtonStyle.Secondary) .setDisabled(true), new ButtonBuilder()