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

Update index.js

This commit is contained in:
MatteZ02 2019-07-19 12:20:22 +03:00
parent 337bfe3a87
commit 1eded156f7

View File

@ -166,10 +166,10 @@ Please provide a value to select one of the search results ranging from __1-10__
if (!serverQueue)
return msg.channel.send(":x: There is nothing in the queue.");
var queuemessage = `__**Song queue:**__
${serverQueue.songs.map(song => `**-** ${song.title}`).join("\n")}
**Now playing:** ${serverQueue.songs[0].title} :musical_note: `;
${serverQueue.songs.map(song => `**-** ${song.title}`).join("\n")}
**Now playing:** ${serverQueue.songs[0].title} :musical_note: `;
if (queuemessage.length > 2000) {
return msg.channel.send(":x: The queue has too many songs in it to show all in this channel. Try again after a few songs");
return msg.channel.send(":x: The queue has too many songs in it to show all in this channel. Try again after a few songs.");
}
return msg.channel.send(queuemessage);
} else if (command === 'pause') {