From ebdd13a79d8167f4237cfbd27eeabe5b1c4cde25 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Mon, 28 Mar 2022 19:27:50 +0100 Subject: [PATCH] Difficulty should be optional, too --- bot/src/slashCommands/commands/chart.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bot/src/slashCommands/commands/chart.ts b/bot/src/slashCommands/commands/chart.ts index 8819c1fd3..c53156e31 100644 --- a/bot/src/slashCommands/commands/chart.ts +++ b/bot/src/slashCommands/commands/chart.ts @@ -20,10 +20,7 @@ const command: SlashCommand = { .setRequired(true) ) .addStringOption((str) => - str - .setName("difficulty") - .setDescription("The difficulty of chart to return.") - .setRequired(true) + str.setName("difficulty").setDescription("The difficulty of chart to return.") ) .addStringOption(OtherUserOption) .toJSON(),