From f6da813d85c52b36c95c8faa9bd753facd33060a Mon Sep 17 00:00:00 2001 From: Marius Begby Date: Thu, 6 Jul 2023 10:01:06 +0200 Subject: [PATCH] Add bold error heading to error messages --- commands/pause.js | 4 ++-- commands/play.js | 2 +- commands/skip.js | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/commands/pause.js b/commands/pause.js index 1d9f4d6..144204b 100644 --- a/commands/pause.js +++ b/commands/pause.js @@ -12,7 +12,7 @@ module.exports = { embeds: [ new EmbedBuilder() .setDescription( - `You need to be in a voice channel to use this command.` + `**Error**\nYou need to be in a voice channel to use this command.` ) .setColor('#c70057') ] @@ -25,7 +25,7 @@ module.exports = { return await interaction.editReply({ embeds: [ new EmbedBuilder() - .setDescription(`There are no tracks in the queue.`) + .setDescription(`**Error**\nThere are no tracks in the queue.`) .setColor('#c70057') ] }); diff --git a/commands/play.js b/commands/play.js index 97f956a..6a78e41 100644 --- a/commands/play.js +++ b/commands/play.js @@ -18,7 +18,7 @@ module.exports = { embeds: [ new EmbedBuilder() .setDescription( - `You need to be in a voice channel to use this command.` + `**Error**\nYou need to be in a voice channel to use this command.` ) .setColor('#c70057') ] diff --git a/commands/skip.js b/commands/skip.js index d60129d..fbce333 100644 --- a/commands/skip.js +++ b/commands/skip.js @@ -20,7 +20,7 @@ module.exports = { embeds: [ new EmbedBuilder() .setDescription( - `You need to be in a voice channel to use this command.` + `**Error**\nYou need to be in a voice channel to use this command.` ) .setColor('#c70057') ] @@ -33,7 +33,7 @@ module.exports = { return await interaction.editReply({ embeds: [ new EmbedBuilder() - .setDescription(`There are no tracks in the queue.`) + .setDescription(`**Error**\nThere are no tracks in the queue.`) .setColor('#c70057') ] }); @@ -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}\`.` + `**Error**\nThere are \`${queue.tracks.data.length}\` tracks in the queue. You cannot skip to track number \`${skipToTrack}\`.` ) .setColor('#c70057') ]