From 74e626a158c0f1f0963047838e6e212b0f82f45a Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 28 Jul 2022 12:37:51 +0200 Subject: [PATCH] correct option --- src/commands/misc/reminder.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/commands/misc/reminder.ts b/src/commands/misc/reminder.ts index 9b72e40..3dd6b3a 100644 --- a/src/commands/misc/reminder.ts +++ b/src/commands/misc/reminder.ts @@ -49,7 +49,7 @@ export default { ) ).setDescriptionLocalizations( getLocalizations(client, `c_${filename}_sub1_opt1_desc`) - ).setRequired(true) + ) ) // Specified message (not required) @@ -85,7 +85,7 @@ export default { ) // User - .addStringOption(option => option + .addUserOption(option => option .setName( loc_default.get(`c_${filename}_sub2_opt1_name`) ?.toLowerCase() ?? '' @@ -117,7 +117,7 @@ export default { ) // ID - .addStringOption(option => option + .addIntegerOption(option => option .setName( loc_default.get(`c_${filename}_sub3_opt1_name`) ?.toLowerCase() ?? ''