feat: Reminders #44

Merged
Anri merged 54 commits from feat/reminders into main 2023-01-17 12:15:15 +01:00
Showing only changes of commit 74e626a158 - Show all commits

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() ?? ''