From d95e3a6ec5c94a58fe2480aac46e0fb92c8b11b9 Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Sun, 23 Jul 2023 00:03:53 +0500 Subject: [PATCH] update localization --- commands/Administration/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/Administration/config.js b/commands/Administration/config.js index 0a5fdfc6..aa82fd3a 100644 --- a/commands/Administration/config.js +++ b/commands/Administration/config.js @@ -204,7 +204,7 @@ async function changeSetting(interaction, setting, state, channel, guildData) { await guildData.save(); return interaction.reply({ - content: `${interaction.translate(`administration/config:${setting.toUpperCase()}`)}: **${interaction.translate("common:DISABLED")}**`, + content: `${interaction.translate(`administration/config:${settingSplitted.length === 2 ? settingSplitted[1].toUpperCase() : setting.toUpperCase()}`)}: **${interaction.translate("common:DISABLED")}**`, ephemeral: true, }); } else {