Change command description

This commit is contained in:
Pfych
2021-09-19 14:06:32 +10:00
parent 285ff5c699
commit f6caba3d73
+1 -5
View File
@@ -32,11 +32,7 @@ export const slashCommands: SlashCommand[] = [
.setDescription("Displays a Kamaitachi Profile")
.addStringOption((option) => option.setName("user").setDescription("The users id").setRequired(false))
.addStringOption((option) =>
option
.setName("game")
.setDescription("The game id")
.setRequired(false)
.addChoices(gamesToChoicesObject())
option.setName("game").setDescription("The Game").setRequired(false).addChoices(gamesToChoicesObject())
)
.toJSON(),
exec: async (interaction: CommandInteraction) => await getProfileByName(interaction)