From fdad4c376c1f4270918cdd28ed910106cf9bdcd3 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Wed, 24 Sep 2025 02:43:01 -0700 Subject: style: Lint --- src/server.ts | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/server.ts') diff --git a/src/server.ts b/src/server.ts index 990c67c..a2618fe 100644 --- a/src/server.ts +++ b/src/server.ts @@ -447,8 +447,7 @@ router.post("/", async (request: Request, environment: Environment) => { case APPEAL_COMMAND.name.toLowerCase(): { try { - const appealMessage = interaction.data.options?.[0] - ?.value as string; + const appealMessage = interaction.data.options?.[0]?.value as string; if (!appealMessage) return new JSONResponse({ @@ -476,16 +475,14 @@ router.post("/", async (request: Request, environment: Environment) => { Date.now(), isDM, ); - const success = await sendAppealToChannel( - environment, - appealEmbed, - ); + const success = await sendAppealToChannel(environment, appealEmbed); if (success) { return new JSONResponse({ type: InteractionResponseType.CHANNEL_MESSAGE_WITH_SOURCE, data: { - content: "✅ Your appeal has been submitted successfully! A moderator will follow up with you soon.", + content: + "✅ Your appeal has been submitted successfully! A moderator will follow up with you soon.", flags: 64, }, }); -- cgit v1.2.3