Open zihan-ban opened 2 months ago
You can create a new folder inside your events folder with the name of the event you want to handle. For example, for the "guildMemberAdd" event, you'd create a "guildMemberAdd" folder inside the events folder.
Inside this folder you can create files (name doesn't matter) which export a default function. Then every time the event is emitted, that function will be called.
You can read more here: https://commandkit.js.org/guide/event-file-setup
I wanna have a welcome bot. But I dont know how guildMembersAdd works