Better formatting in error message

This commit is contained in:
Marius Begby committed 2023-07-06 09:50:13 +02:00
1 parent 4a7bf9ecb9
commit a7cebcd3b0
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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
View File
@@ -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')
] ]