Problem with the guildBanAdd event
When I test the event by banning someone, it doesn’t work and I don’t know what to do. I already have version 14.15.3 of discord.js and all the other events I have work perfectly, but not this one, same as the guildBanRemove event.
11 Replies
- 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!
- ✅
Marked as resolved by OPThis is my discord.js version and nodejs

what intents do you have
this?

in your client constructor

p sure you need GuildModeration for that event
Add that one to the list?
yes
Thanks, it already worked for me.