mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 06:28:53 +00:00
Better formatting in error message
This commit is contained in:
1 parent
4a7bf9ecb9
commit
a7cebcd3b0
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -51,7 +51,7 @@ module.exports = {
|
|||||||
embeds: [
|
embeds: [
|
||||||
new EmbedBuilder()
|
new EmbedBuilder()
|
||||||
.setDescription(
|
.setDescription(
|
||||||
`Invalid page number. There are only a total of ${totalPages} pages of tracks.`
|
`Invalid page number. There are only a total of \`${totalPages}\` pages of tracks.`
|
||||||
)
|
)
|
||||||
.setColor('#c70057')
|
.setColor('#c70057')
|
||||||
]
|
]
|
||||||
|
|||||||
+1
-1
@@ -47,7 +47,7 @@ module.exports = {
|
|||||||
embeds: [
|
embeds: [
|
||||||
new EmbedBuilder()
|
new EmbedBuilder()
|
||||||
.setDescription(
|
.setDescription(
|
||||||
`There are ${queue.tracks.data.length} tracks in the queue. You cannot skip to track number ${skipToTrack}.`
|
`There are \`${queue.tracks.data.length}\` tracks in the queue. You cannot skip to track number \`${skipToTrack}\`.`
|
||||||
)
|
)
|
||||||
.setColor('#c70057')
|
.setColor('#c70057')
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in new issue
Block a user