diff --git a/commands/queue.js b/commands/queue.js index 121f491..b8f7fa3 100644 --- a/commands/queue.js +++ b/commands/queue.js @@ -16,16 +16,20 @@ module.exports = { const currentTrackDisplay = currentTrack.url ? `[${currentTrack.title}](${currentTrack.url})` : currentTrack.title; - embed.addFields({ name: 'Currently playing', value: currentTrackDisplay, inline: false }); + embed.addFields({ + name: 'Currently playing', + value: `${currentTrackDisplay} \nRequested by: ${currentTrack.requester}`, + inline: false + }); } if (queue.length > 0) { const queueDisplay = queue.map((track, index) => { const trackDisplay = track.url - ? `**${index + 1}.** [${track.title}](${track.url})` - : `**${index + 1}.** ${track.title}`; + ? `**${index + 1}.** [${track.title}](${track.url}) \nRequested by: ${track.requester}` + : `**${index + 1}.** ${track.title} \nRequested by: ${track.requester}`; return trackDisplay; - }).join('\n'); + }).join('\n\n'); embed.addFields({ name: 'Up next', @@ -38,4 +42,4 @@ module.exports = { message.channel.send({ embeds: [embed] }); } -}; \ No newline at end of file +};