1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-10 02:00:20 +00:00

Update remove.js

This commit is contained in:
MatteZ02 2020-05-06 13:09:05 +03:00
parent fe38315c34
commit 9ddbcc3d25

View File

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