I want to make an audit log to my server.

Where can I find all the events like "MemberAdd" or "MemberBanned" for this?
8 Replies
d.js toolkit
d.js toolkit17mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
Gryphon
GryphonOP17mo ago
I couldn't find it on discordjs.guide.
Looped
Looped17mo ago
Can you explain what you mean by "Where can I find all the events"? Do you mean like an example of usage?
Gryphon
GryphonOP17mo ago
Yes
Looped
Looped17mo ago
Well it's called guildMemberAdd and returns a member parameter which is of type GuildMember. https://old.discordjs.dev/#/docs/discord.js/14.11.0/class/Client?scrollTo=e-guildMemberAdd
Discord.js
Discord.js is a powerful node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend.
Looped
Looped17mo ago
You can use it just like any other event If you can show any events in your code, I might be able to help.
Gryphon
GryphonOP17mo ago
i understood. thx no need thank you
Looped
Looped17mo ago
Alright once you're done you can mark this as solved!
Want results from more Discord servers?
Add your server