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-06-16 21:00:04 +03:00
parent 0f2a622a84
commit e37beacaf3

View File

@ -177,9 +177,9 @@ Please provide a value to select one of the search results ranging from __1-10__
} else if (command === 'queue') {
if (!serverQueue) return msg.channel.send(':x: There is nothing playing.');
return msg.channel.send(`
__**Song queue:**__
${serverQueue.songs.map(song => `**-** ${song.title}`).join('\n')}
**Now playing:** ${serverQueue.songs[0].title} :musical_note:
__**Song queue:**__
${serverQueue.songs.map(song => `**-** ${song.title}`).join('\n')}
**Now playing:** ${serverQueue.songs[0].title} :musical_note:
`);
} else if (command === 'pause') {
if (serverQueue && serverQueue.playing) {