Added options for stats channels, moderation command buttons and fixed the updating of stats channels
diff --git a/src/events/memberJoin.ts b/src/events/memberJoin.ts
index 7bee084..109f226 100644
--- a/src/events/memberJoin.ts
+++ b/src/events/memberJoin.ts
@@ -7,6 +7,7 @@
export async function callback(_, member) {
try { welcome(_, member); } catch {}
+ try { statsChannelAdd(_, member, ); } catch {}
try {
const { log, NucleusColors, entry, renderUser, renderDelta } = member.client.logger
try { await client.database.history.create("join", member.guild.id, member.user, null, null) } catch {}
@@ -32,5 +33,4 @@
}
log(data);
} catch {}
- try { statsChannelAdd(_, member, ); } catch {}
}