From a7cebcd3b0a26ca01f71d7546ce35cc393d206f6 Mon Sep 17 00:00:00 2001 From: Marius Begby Date: Thu, 6 Jul 2023 09:50:13 +0200 Subject: [PATCH] Better formatting in error message --- commands/queue.js | 2 +- commands/skip.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/queue.js b/commands/queue.js index 2978ea0..dd303bc 100644 --- a/commands/queue.js +++ b/commands/queue.js @@ -51,7 +51,7 @@ module.exports = { embeds: [ new EmbedBuilder() .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') ] diff --git a/commands/skip.js b/commands/skip.js index b5bf3eb..d60129d 100644 --- a/commands/skip.js +++ b/commands/skip.js @@ -47,7 +47,7 @@ module.exports = { embeds: [ new EmbedBuilder() .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') ]