1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-23 03:33:17 +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') { } else if (command === 'queue') {
if (!serverQueue) return msg.channel.send(':x: There is nothing playing.'); if (!serverQueue) return msg.channel.send(':x: There is nothing playing.');
return msg.channel.send(` return msg.channel.send(`
__**Song queue:**__ __**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:
`); `);
} else if (command === 'pause') { } else if (command === 'pause') {
if (serverQueue && serverQueue.playing) { if (serverQueue && serverQueue.playing) {