From efbe72f9ec9c8f5effca5d77b5ab57302026c0f2 Mon Sep 17 00:00:00 2001 From: Dominic Ruggiero Date: Wed, 18 Sep 2024 20:03:36 -0400 Subject: [PATCH] add timezone to application --- src/modules/applications.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/applications.ts b/src/modules/applications.ts index 0e88ccc..b6175c8 100644 --- a/src/modules/applications.ts +++ b/src/modules/applications.ts @@ -13,6 +13,7 @@ export const submittedApplicationSchema = z.object({ why: z.string(), source: z.string(), token: z.string(), + tz: z.number(), }); export const handleIncomingApplication = async ( @@ -25,7 +26,7 @@ export const handleIncomingApplication = async ( }); if (!application || !application.active) return; await sendKitchenMessage(KitchenChannel.applications, { - content: `Application from <@!${application.user}>:\nWhy:\n\`\`\`${data.why}\`\`\`\nSource:\n\`\`\`${data.source}\`\`\``, + content: `Application from <@!${application.user}>:\nWhy:\n\`\`\`${data.why}\`\`\`\nSource:\n\`\`\`${data.source}\`\`\`\nUTC Offset: \`${data.tz}\``, }); await prisma.application.update({ where: {