fix: Updated some validator error messages

This commit is contained in:
Marius Begby committed 2023-09-05 12:36:27 +02:00
1 parent 5df2e770e6
commit 04dd7a7218
2 files changed
+3 -3

No files matched your search

@@ -25,7 +25,7 @@ export const notValidGuildId = async ({ interaction, executionId }: NotValidGuil
embeds: [
new EmbedBuilder()
.setDescription(
`**${embedOptions.icons.warning} Oops!**\nNo permission to execute this command.\n\nThe command **\`/${interactionIdentifier}\`** cannot be executed in this server.`
`**${embedOptions.icons.warning} Oops!**\nNo permission to perform this action.\n\nThe command **\`/${interactionIdentifier}\`** cannot be executed in this server.`
)
.setColor(embedOptions.colors.warning)
]
@@ -24,7 +24,7 @@ export const notInVoiceChannel = async ({ interaction, executionId }: NotInVoice
embeds: [
new EmbedBuilder()
.setDescription(
`**${embedOptions.icons.warning} Not in a voice channel**\nYou need to be in a voice channel to use this command.`
`**${embedOptions.icons.warning} Not in a voice channel**\nYou need to be in a voice channel to perform this action.`
)
.setColor(embedOptions.colors.warning)
]
@@ -62,7 +62,7 @@ export const notInSameVoiceChannel = async ({ interaction, queue, executionId }:
embeds: [
new EmbedBuilder()
.setDescription(
`**${embedOptions.icons.warning} Not in same voice channel**\nYou need to be in the same voice channel as me to use this command.\n\n**Voice channel:** ${queue.dispatcher.channel.name}`
`**${embedOptions.icons.warning} Not in same voice channel**\nYou need to be in the same voice channel as me to perform this action.\n\n**Voice channel:** <#${queue.dispatcher.channel.id}>`
)
.setColor(embedOptions.colors.warning)
]