From 595c902027b57ab11e361779f99db364062fa47b Mon Sep 17 00:00:00 2001 From: Marius Begby Date: Thu, 13 Jul 2023 12:25:23 +0200 Subject: [PATCH] fix: update error message for system commands no permission --- system-commands/guilds.js | 2 +- system-commands/status.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/system-commands/guilds.js b/system-commands/guilds.js index c62e018..216f192 100644 --- a/system-commands/guilds.js +++ b/system-commands/guilds.js @@ -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) ] diff --git a/system-commands/status.js b/system-commands/status.js index 0e9707b..b091b5b 100644 --- a/system-commands/status.js +++ b/system-commands/status.js @@ -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) ]