stats channels
diff --git a/src/events/memberLeave.ts b/src/events/memberLeave.ts
index 592a630..122e01a 100644
--- a/src/events/memberLeave.ts
+++ b/src/events/memberLeave.ts
@@ -1,11 +1,10 @@
import humanizeDuration from 'humanize-duration';
import { purgeByUser } from '../actions/tickets/delete.js';
-import { callback as statsChannelRemove } from '../reflex/statsChannelRemove.js';
+import { callback as statsChannelRemove } from '../reflex/statsChannelUpdate.js';
export const event = 'guildMemberRemove'
export async function callback(client, member) {
- try { await statsChannelRemove(client, member); } catch {}
try { purgeByUser(member.id, member.guild); } catch {}
try {
const { getAuditLog, log, NucleusColors, entry, renderUser, renderDelta } = member.client.logger
@@ -72,4 +71,5 @@
}
log(data);
} catch (e) { console.log(e) }
+ try { await statsChannelRemove(client, member); } catch {}
}