From d157d1f6c21d91c874caf1b9801c032bd505c0f0 Mon Sep 17 00:00:00 2001 From: Nix Krystik Date: Tue, 13 Oct 2026 23:05:17 +0800 Subject: [PATCH] lint. --- src/utils/private-help-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/private-help-utils.ts b/src/utils/private-help-utils.ts index 5eb2600..42da283 100644 --- a/src/utils/private-help-utils.ts +++ b/src/utils/private-help-utils.ts @@ -7,7 +7,7 @@ export async function closeOldTickets(client: Client) { try { const thread = await client.channels.fetch(ticket.thread_id) as ThreadChannel; const latestMessage = (await thread.messages.fetch({ limit: 1 })).at(0); - + // Only process stale tickets. (Tickets with 5 days since the last message.) if (latestMessage && latestMessage.createdTimestamp > Date.now() - 432e6) continue;