mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-14 03:30:18 +00:00
Update index.js
This commit is contained in:
parent
77b1c5fcd3
commit
337bfe3a87
2
index.js
2
index.js
@ -168,7 +168,7 @@ Please provide a value to select one of the search results ranging from __1-10__
|
|||||||
var queuemessage = `__**Song queue:**__
|
var queuemessage = `__**Song queue:**__
|
||||||
${serverQueue.songs.map(song => `**-** ${song.title}`).join("\n")}
|
${serverQueue.songs.map(song => `**-** ${song.title}`).join("\n")}
|
||||||
**Now playing:** ${serverQueue.songs[0].title} :musical_note: `;
|
**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(":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);
|
return msg.channel.send(queuemessage);
|
||||||
|
Loading…
Reference in New Issue
Block a user