mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-06 02:01:26 +03:00
fix: inactivity warning spam
This commit is contained in:
@@ -1159,6 +1159,7 @@ module.exports = class TicketManager {
|
||||
closedBy = null,
|
||||
reason = null,
|
||||
}) {
|
||||
if (this.$stale.has(ticketId)) this.$stale.delete(ticketId);
|
||||
let ticket = await this.getTicket(ticketId);
|
||||
const getMessage = this.client.i18n.getLocale(ticket.guild.locale);
|
||||
this.$count.categories[ticket.categoryId].total -= 1;
|
||||
|
Reference in New Issue
Block a user