correct option

This commit is contained in:
Mylloon 2022-07-28 12:37:51 +02:00
parent d4d3858ac7
commit 74e626a158
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -49,7 +49,7 @@ export default {
) )
).setDescriptionLocalizations( ).setDescriptionLocalizations(
getLocalizations(client, `c_${filename}_sub1_opt1_desc`) getLocalizations(client, `c_${filename}_sub1_opt1_desc`)
).setRequired(true) )
) )
// Specified message (not required) // Specified message (not required)
@ -85,7 +85,7 @@ export default {
) )
// User // User
.addStringOption(option => option .addUserOption(option => option
.setName( .setName(
loc_default.get(`c_${filename}_sub2_opt1_name`) loc_default.get(`c_${filename}_sub2_opt1_name`)
?.toLowerCase() ?? '' ?.toLowerCase() ?? ''
@ -117,7 +117,7 @@ export default {
) )
// ID // ID
.addStringOption(option => option .addIntegerOption(option => option
.setName( .setName(
loc_default.get(`c_${filename}_sub3_opt1_name`) loc_default.get(`c_${filename}_sub3_opt1_name`)
?.toLowerCase() ?? '' ?.toLowerCase() ?? ''