correct option
This commit is contained in:
parent
d4d3858ac7
commit
74e626a158
1 changed files with 3 additions and 3 deletions
|
@ -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() ?? ''
|
||||||
|
|
Loading…
Reference in a new issue