mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-22 21:13:18 +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)
|
if (!serverQueue)
|
||||||
return msg.channel.send(":x: There is nothing in the queue.");
|
return msg.channel.send(":x: There is nothing in the queue.");
|
||||||
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);
|
||||||
} else if (command === 'pause') {
|
} else if (command === 'pause') {
|
||||||
|
Loading…
Reference in New Issue
Block a user