Make user not optional for now

This commit is contained in:
Pfych
2021-09-19 14:08:44 +10:00
parent f6caba3d73
commit a7bc69fa59
+2 -1
View File
@@ -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())
)