From 6b49d1205f65887c8a255dbe967d915aa6ffa3d3 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Sat, 16 Jul 2022 10:51:26 +0300 Subject: [PATCH] missing lang --- src/localization/en_gb/settings/en_gb_moderation.lang | 3 +++ src/structure/components/settings/moderation/Staff.js | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/localization/en_gb/settings/en_gb_moderation.lang b/src/localization/en_gb/settings/en_gb_moderation.lang index 6e5ba52..384e73f 100644 --- a/src/localization/en_gb/settings/en_gb_moderation.lang +++ b/src/localization/en_gb/settings/en_gb_moderation.lang @@ -377,6 +377,9 @@ You've hit the limit of quick actions. Either modify or remove existing ones. You can only define up to 5 quick actions, you currently have {amount} existing actions. // Staff setting +[SETTING_STAFF_HELP] +Configure the role and text used with the staff command. + [SETTING_STAFF_PROMPT] Respond with the text you want displayed with the command. Times out in 30 seconds. diff --git a/src/structure/components/settings/moderation/Staff.js b/src/structure/components/settings/moderation/Staff.js index c3bbd60..6d1da2b 100644 --- a/src/structure/components/settings/moderation/Staff.js +++ b/src/structure/components/settings/moderation/Staff.js @@ -50,10 +50,10 @@ class StaffSetting extends Setting { fields(guild) { const setting = guild._settings[this.name]; return [{ - name: guild.format('GENERAL_ROLE'), + name: 'GENERAL_ROLE', value: setting.role ? `<@&${setting.role}>` : '**N/A**' }, { - name: guild.format('SETTING_STAFF_RULE_FIELD'), + name: 'SETTING_STAFF_RULE_FIELD', value: setting.rule || '**N/A**' }]; }