stats channels
diff --git a/src/actions/tickets/delete.ts b/src/actions/tickets/delete.ts
index 1985a08..c14cf0c 100644
--- a/src/actions/tickets/delete.ts
+++ b/src/actions/tickets/delete.ts
@@ -134,29 +134,27 @@
}
});
if (deleted) {
- try {
- const { log, NucleusColors, entry, renderUser, renderDelta } = member.client.logger
- let data = {
- meta:{
- type: 'ticketPurge',
- displayName: 'Tickets Purged',
- calculateType: "ticketUpdate",
- color: NucleusColors.red,
- emoji: 'GUILD.TICKET.DELETE',
- timestamp: new Date().getTime()
- },
- list: {
- ticketFor: entry(member, renderUser(member)),
- deletedBy: entry(null, "Member left server"),
- deleted: entry(new Date().getTime(), renderDelta(new Date().getTime())),
- ticketsDeleted: deleted,
- },
- hidden: {
- guild: guild.id
- }
+ const { log, NucleusColors, entry, renderUser, renderDelta } = member.client.logger
+ let data = {
+ meta:{
+ type: 'ticketPurge',
+ displayName: 'Tickets Purged',
+ calculateType: "ticketUpdate",
+ color: NucleusColors.red,
+ emoji: 'GUILD.TICKET.DELETE',
+ timestamp: new Date().getTime()
+ },
+ list: {
+ ticketFor: entry(member, renderUser(member)),
+ deletedBy: entry(null, "Member left server"),
+ deleted: entry(new Date().getTime(), renderDelta(new Date().getTime())),
+ ticketsDeleted: deleted,
+ },
+ hidden: {
+ guild: guild.id
}
- log(data);
- } catch {}
+ }
+ log(data);
}
}