mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-06 05:48:00 +03:00
Make user not optional for now
This commit is contained in:
@@ -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())
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user