From 24360e4dcd362c525344cbb6ce2910be2b2b5ed2 Mon Sep 17 00:00:00 2001 From: Isaac Date: Tue, 6 Jun 2023 20:22:36 +0100 Subject: [PATCH] fix: auto closing tickets --- src/listeners/client/ready.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/listeners/client/ready.js b/src/listeners/client/ready.js index eb2e343..228a68c 100644 --- a/src/listeners/client/ready.js +++ b/src/listeners/client/ready.js @@ -168,7 +168,7 @@ module.exports = class extends Listener { ], }); } else if ($.closeAt < Date.now()) { - client.tickets.finallyClose(ticketId, $.reason); + client.tickets.finallyClose(ticketId, $); } }