Skip to content

Commit

Permalink
indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
saiteja-madha committed Sep 21, 2021
1 parent 24a832e commit ef9d3d4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion src/commands/music/np.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ module.exports = class Skip extends Command {

const embed = new MessageEmbed()
.setTitle("Currently Playing")
.setDescription(`🎶 | **${queue.current.title}**! (\`${perc.progress == 'Infinity' ? 'Live' : perc.progress + '%'}\`)\n\n${progress.replace(/ 0:00/g, ' ◉ LIVE')}`)
.setDescription(
`🎶 | **${queue.current.title}**! (\`${
perc.progress == "Infinity" ? "Live" : perc.progress + "%"
}\`)\n\n${progress.replace(/ 0:00/g, " ◉ LIVE")}`
);
return message.channel.send({ embeds: [embed] });
}
};
8 changes: 6 additions & 2 deletions src/commands/music/queue.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,12 @@ module.exports = class Skip extends Command {

const embed = new MessageEmbed()
.setTitle(`Music Queue`)
.setDescription(`${tracks.join('\n')}${queue.tracks.length > pageEnd ? `\n...${queue.tracks.length - pageEnd} more track(s)` : ''}`)
.addField('Now Playing', `🎶 | **${currentTrack.title}** ([link](${currentTrack.url}))`);
.setDescription(
`${tracks.join("\n")}${
queue.tracks.length > pageEnd ? `\n...${queue.tracks.length - pageEnd} more track(s)` : ""
}`
)
.addField("Now Playing", `🎶 | **${currentTrack.title}** ([link](${currentTrack.url}))`);
return message.channel.send({ embeds: [embed] });
}
};

0 comments on commit ef9d3d4

Please sign in to comment.