1import { eventModule, EventType } from "@sern/handler";2import type { GuildMember } from "discord.js";3 4export default eventModule({5 type: EventType.Discord,6 name: "guildMemberAdd",7 async execute(member) {8 },9});
1import { eventModule, EventType } from "@sern/handler";2import type { GuildMember } from "discord.js";3 4export default eventModule({5 type: EventType.Discord,6 name: "guildMemberAdd",7 async execute(member: GuildMember) {8 // TODO: This should be inferred9 if (member.pending) return;10 },11});