fix: set tickets as closed (fixes #382)

This commit is contained in:
Isaac 2023-02-09 17:38:46 +00:00
parent 62ab9eb6c7
commit 630d3ff4bb
No known key found for this signature in database
GPG Key ID: 0DE40AE37BBA5C33

View File

@ -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} */