fix: update error message for system commands no permission

This commit is contained in:
Marius Begby committed 2023-07-13 12:25:23 +02:00
1 parent a32fc6c635
commit 595c902027
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ module.exports = {
embeds: [
new EmbedBuilder()
.setDescription(
'**No permission**\nYou do not have permission to use this command.'
`**No permission**\nThe command \`${interaction.commandName}\` cannot be executed in this server.`
)
.setColor(embedColors.colorError)
]
+1 -1
View File
@@ -13,7 +13,7 @@ module.exports = {
embeds: [
new EmbedBuilder()
.setDescription(
'**No permission**\nYou do not have permission to use this command.'
`**No permission**\nThe command \`${interaction.commandName}\` cannot be executed in this server.`
)
.setColor(embedColors.colorError)
]