Add bold error heading to error messages

This commit is contained in:
Marius Begby committed 2023-07-06 10:01:06 +02:00
1 parent b99f3925c1
commit f6da813d85
3 files changed
+6 -6

No files matched your search

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