Formatting

This commit is contained in:
Marius Begby committed 2023-07-16 01:18:47 +02:00
1 parent c59fce19c7
commit 1f1c64284c
5 files changed
+46 -41

No files matched your search

+9 -5
View File
@@ -41,7 +41,9 @@ module.exports = {
embeds: [
new EmbedBuilder()
.setDescription(
`**${embedIcons.warning} Oops!**\nPage \`${pageIndex + 1}\` is not a valid page number.\n\nThe queue is currently empty, first add some tracks with \`/play\`!`
`**${embedIcons.warning} Oops!**\nPage \`${
pageIndex + 1
}\` is not a valid page number.\n\nThe queue is currently empty, first add some tracks with \`/play\`!`
)
.setColor(embedColors.colorWarning)
]
@@ -74,7 +76,9 @@ module.exports = {
embeds: [
new EmbedBuilder()
.setDescription(
`**${embedIcons.warning} Oops!**\nPage \`${pageIndex + 1}\` is not a valid page number.\n\nThere are only a total of \`${totalPages}\` pages in the queue.`
`**${embedIcons.warning} Oops!**\nPage \`${
pageIndex + 1
}\` is not a valid page number.\n\nThere are only a total of \`${totalPages}\` pages in the queue.`
)
.setColor(embedColors.colorWarning)
]
@@ -92,9 +96,9 @@ module.exports = {
? ''
: `\`${track.duration}\``;
return `**${pageIndex * 10 + index + 1}.** ${durationFormat} **[${
track.title
}](${track.url})**`;
return `**${
pageIndex * 10 + index + 1
}.** ${durationFormat} **[${track.title}](${track.url})**`;
})
.join('\n');
}