From a7bc69fa59a96bf85090a75f8aa163e684cb9cc0 Mon Sep 17 00:00:00 2001 From: Pfych Date: Sun, 19 Sep 2021 14:08:44 +1000 Subject: [PATCH] Make user not optional for now --- bot/src/slashCommands/register.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bot/src/slashCommands/register.ts b/bot/src/slashCommands/register.ts index a5338ce22..79a91017f 100644 --- a/bot/src/slashCommands/register.ts +++ b/bot/src/slashCommands/register.ts @@ -30,7 +30,8 @@ export const slashCommands: SlashCommand[] = [ info: new SlashCommandBuilder() .setName("profile") .setDescription("Displays a Kamaitachi Profile") - .addStringOption((option) => option.setName("user").setDescription("The users id").setRequired(false)) + /** @TODO Make this optional once we have a fallback */ + .addStringOption((option) => option.setName("user").setDescription("The users id").setRequired(true)) .addStringOption((option) => option.setName("game").setDescription("The Game").setRequired(false).addChoices(gamesToChoicesObject()) )