mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 06:28:53 +00:00
fix: update error message for system commands no permission
This commit is contained in:
1 parent
a32fc6c635
commit
595c902027
2 files changed
+2
-2
No files matched your search
@@ -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)
|
||||
]
|
||||
|
||||
@@ -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)
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user