lowercase name localization
This commit is contained in:
parent
b085539b48
commit
62e61df3d0
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ export default {
|
|||
return new SlashCommandBuilder()
|
||||
.setName(filename.toLowerCase())
|
||||
.setDescription(client.locales.get(client.config.default_lang)?.get(`c_${filename}_desc`) ?? '')
|
||||
.setNameLocalizations(getLocalizations(client, `c_${filename}_name`))
|
||||
.setNameLocalizations(getLocalizations(client, `c_${filename}_name`, true))
|
||||
.setDescriptionLocalizations(getLocalizations(client, `c_${filename}_desc`));
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue