mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-23 00:03:09 +02:00
fix: auto closing tickets
This commit is contained in:
parent
f995589627
commit
24360e4dcd
@ -168,7 +168,7 @@ module.exports = class extends Listener {
|
|||||||
],
|
],
|
||||||
});
|
});
|
||||||
} else if ($.closeAt < Date.now()) {
|
} else if ($.closeAt < Date.now()) {
|
||||||
client.tickets.finallyClose(ticketId, $.reason);
|
client.tickets.finallyClose(ticketId, $);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user