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 11:09:38 +03:00
parent 77b1c5fcd3
commit 337bfe3a87

View File

@ -168,7 +168,7 @@ Please provide a value to select one of the search results ranging from __1-10__
var queuemessage = `__**Song queue:**__
${serverQueue.songs.map(song => `**-** ${song.title}`).join("\n")}
**Now playing:** ${serverQueue.songs[0].title} :musical_note: `;
if (queuemessage.length < 2000) {
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(queuemessage);