diff --git a/src/commands/fun/subcommands/joke/index.ts b/src/commands/fun/subcommands/joke/index.ts index cf9c8497..d3a7cb1e 100644 --- a/src/commands/fun/subcommands/joke/index.ts +++ b/src/commands/fun/subcommands/joke/index.ts @@ -68,6 +68,7 @@ export function buildJokeSubcommands( export async function handleJoke( interaction: ChatInputCommandInteraction, ): Promise { + // For subcommand groups, we need to get the subcommand differently const subcommand = interaction.options.getSubcommand(); switch (subcommand) {