From ef670c6e61ca26fc91709a8f3854145760a55d36 Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Wed, 6 May 2020 13:12:01 +0300 Subject: [PATCH] Update remove.js --- src/commands/remove.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/remove.js b/src/commands/remove.js index 88e71611..5666c58e 100644 --- a/src/commands/remove.js +++ b/src/commands/remove.js @@ -16,10 +16,10 @@ module.exports = { let message1; let message2; message1 = client.messages.queueLength.replace( - "%LENGTH%", + "%SONGS%", queue.songs.length ); - if (pos > queue.songs.length) return msg.channel.send(message1); + if (pos >= queue.songs.length) return msg.channel.send(message1); message2 = client.messages.removed.replace( "%SONG%", queue.songs[pos].title