From 442e06b209a4ef2a04eac479e5f48c89a9ba2430 Mon Sep 17 00:00:00 2001 From: Nick Clark Date: Sun, 18 Jan 2026 12:53:52 -0500 Subject: [PATCH 1/2] Trying to fix this up --- src/commands/fun/subcommands/joke/index.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/commands/fun/subcommands/joke/index.ts b/src/commands/fun/subcommands/joke/index.ts index d3a7cb1e..c003573e 100644 --- a/src/commands/fun/subcommands/joke/index.ts +++ b/src/commands/fun/subcommands/joke/index.ts @@ -1,8 +1,5 @@ // src/commands/fun/subcommands/joke/index.ts -import { - SlashCommandSubcommandBuilder, - SlashCommandSubcommandGroupBuilder, -} from "discord.js"; +import { SlashCommandSubcommandBuilder, SlashCommandSubcommandGroupBuilder } from "discord.js"; import type { ChatInputCommandInteraction } from "discord.js"; import { JOKE_CATEGORIES } from "../../../../services/joke/jokeStore.js"; import { handleJokeRandom } from "./random.js"; @@ -10,9 +7,7 @@ import { handleJokeAdd } from "./add.js"; import { handleJokeRemove } from "./remove.js"; import { handleJokeList } from "./list.js"; -export function buildJokeSubcommands( - subcommandGroup: SlashCommandSubcommandGroupBuilder, -) { +export function buildJokeSubcommands(subcommandGroup: SlashCommandSubcommandGroupBuilder) { return subcommandGroup .setName("joke") .setDescription("User-submitted jokes by generation") From c9e32288c3a2f9239f4911410468331b5be80f54 Mon Sep 17 00:00:00 2001 From: Nick Clark Date: Sun, 18 Jan 2026 12:53:58 -0500 Subject: [PATCH 2/2] style: auto-format with Prettier [skip-precheck] --- src/commands/fun/subcommands/joke/index.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/commands/fun/subcommands/joke/index.ts b/src/commands/fun/subcommands/joke/index.ts index c003573e..d3a7cb1e 100644 --- a/src/commands/fun/subcommands/joke/index.ts +++ b/src/commands/fun/subcommands/joke/index.ts @@ -1,5 +1,8 @@ // src/commands/fun/subcommands/joke/index.ts -import { SlashCommandSubcommandBuilder, SlashCommandSubcommandGroupBuilder } from "discord.js"; +import { + SlashCommandSubcommandBuilder, + SlashCommandSubcommandGroupBuilder, +} from "discord.js"; import type { ChatInputCommandInteraction } from "discord.js"; import { JOKE_CATEGORIES } from "../../../../services/joke/jokeStore.js"; import { handleJokeRandom } from "./random.js"; @@ -7,7 +10,9 @@ import { handleJokeAdd } from "./add.js"; import { handleJokeRemove } from "./remove.js"; import { handleJokeList } from "./list.js"; -export function buildJokeSubcommands(subcommandGroup: SlashCommandSubcommandGroupBuilder) { +export function buildJokeSubcommands( + subcommandGroup: SlashCommandSubcommandGroupBuilder, +) { return subcommandGroup .setName("joke") .setDescription("User-submitted jokes by generation")