missing lang

This commit is contained in:
Erik 2022-07-16 10:51:26 +03:00
parent c491112024
commit 6b49d1205f
Signed by untrusted user: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB
2 changed files with 5 additions and 2 deletions

View File

@ -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. You can only define up to 5 quick actions, you currently have {amount} existing actions.
// Staff setting // Staff setting
[SETTING_STAFF_HELP]
Configure the role and text used with the staff command.
[SETTING_STAFF_PROMPT] [SETTING_STAFF_PROMPT]
Respond with the text you want displayed with the command. Respond with the text you want displayed with the command.
Times out in 30 seconds. Times out in 30 seconds.

View File

@ -50,10 +50,10 @@ class StaffSetting extends Setting {
fields(guild) { fields(guild) {
const setting = guild._settings[this.name]; const setting = guild._settings[this.name];
return [{ return [{
name: guild.format('GENERAL_ROLE'), name: 'GENERAL_ROLE',
value: setting.role ? `<@&${setting.role}>` : '**N/A**' value: setting.role ? `<@&${setting.role}>` : '**N/A**'
}, { }, {
name: guild.format('SETTING_STAFF_RULE_FIELD'), name: 'SETTING_STAFF_RULE_FIELD',
value: setting.rule || '**N/A**' value: setting.rule || '**N/A**'
}]; }];
} }