From 630d3ff4bbac7fb58a18e1f6997ed0fed1b54580 Mon Sep 17 00:00:00 2001 From: Isaac Date: Thu, 9 Feb 2023 17:38:46 +0000 Subject: [PATCH] fix: set tickets as closed (fixes #382) --- src/lib/tickets/manager.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/tickets/manager.js b/src/lib/tickets/manager.js index 0c58817..cea8979 100644 --- a/src/lib/tickets/manager.js +++ b/src/lib/tickets/manager.js @@ -1067,6 +1067,7 @@ module.exports = class TicketManager { } || undefined, // Prisma wants undefined not null because it is a relation closedReason: reason && encrypt(reason), messageCount: archivedMessages, + open: false, }; /** @type {import("discord.js").TextChannel} */