From f6caba3d737ed3c6caa32e155273a0b13f100648 Mon Sep 17 00:00:00 2001 From: Pfych Date: Sun, 19 Sep 2021 14:06:32 +1000 Subject: [PATCH] Change command description --- bot/src/slashCommands/register.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/bot/src/slashCommands/register.ts b/bot/src/slashCommands/register.ts index d8122543f..a5338ce22 100644 --- a/bot/src/slashCommands/register.ts +++ b/bot/src/slashCommands/register.ts @@ -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)