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:
parent
337bfe3a87
commit
1eded156f7
6
index.js
6
index.js
@ -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') {
|
||||
|
Loading…
Reference in New Issue
Block a user