mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-23 00:03:09 +02:00
fix: set tickets as closed (fixes #382)
This commit is contained in:
parent
62ab9eb6c7
commit
630d3ff4bb
@ -1067,6 +1067,7 @@ module.exports = class TicketManager {
|
|||||||
} || undefined, // Prisma wants undefined not null because it is a relation
|
} || undefined, // Prisma wants undefined not null because it is a relation
|
||||||
closedReason: reason && encrypt(reason),
|
closedReason: reason && encrypt(reason),
|
||||||
messageCount: archivedMessages,
|
messageCount: archivedMessages,
|
||||||
|
open: false,
|
||||||
};
|
};
|
||||||
|
|
||||||
/** @type {import("discord.js").TextChannel} */
|
/** @type {import("discord.js").TextChannel} */
|
||||||
|
Loading…
Reference in New Issue
Block a user