mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 14:38:49 +00:00
Formatting
This commit is contained in:
1 parent
c59fce19c7
commit
1f1c64284c
5 files changed
+46
-41
No files matched your search
+9
-5
@@ -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');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user