minor improvements

This commit is contained in:
Isaac
2023-01-30 17:10:02 +00:00
parent 5579362f26
commit bb3179f28f
4 changed files with 13 additions and 10 deletions

View File

@@ -96,6 +96,7 @@ module.exports = class ForceCloseSlashCommand extends SlashCommand {
});
}
// TODO: category
const tickets = await client.prisma.ticket.findMany({
where: {
lastMessageAt: { lte: new Date(Date.now() - time) },