mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 14:38:49 +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: [
|
embeds: [
|
||||||
new EmbedBuilder()
|
new EmbedBuilder()
|
||||||
.setDescription(
|
.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)
|
.setColor(embedColors.colorError)
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ module.exports = {
|
|||||||
embeds: [
|
embeds: [
|
||||||
new EmbedBuilder()
|
new EmbedBuilder()
|
||||||
.setDescription(
|
.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)
|
.setColor(embedColors.colorError)
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in new issue
Block a user