mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-02 14:38:49 +00:00
Add bold error heading to error messages
This commit is contained in:
1 parent
b99f3925c1
commit
f6da813d85
3 files changed
+6
-6
No files matched your search
+2
-2
@@ -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
@@ -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
@@ -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')
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user