1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-22 21:13: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,10 +22,10 @@ module.exports = {
if (pos > queue.songs.length) return msg.channel.send(message1);
message2 = client.messages.removed.replace(
"%SONG%",
queue.songs[pos].title
queue.songs[pos - 1].title
);
msg.channel.send(message2);
return queue.songs.splice(pos, 1);
}
},
};
};