1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-14 03:30:18 +00:00

Update remove.js

This commit is contained in:
MatteZ02 2020-04-25 22:00:27 +03:00
parent 4642ed1bc8
commit 754614e2fb

View File

@ -22,7 +22,7 @@ module.exports = {
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( message2 = client.messages.removed.replace(
"%SONG%", "%SONG%",
queue.songs[pos].title queue.songs[pos - 1].title
); );
msg.channel.send(message2); msg.channel.send(message2);
return queue.songs.splice(pos, 1); return queue.songs.splice(pos, 1);