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
d.js toolkit
d.js toolkit6mo 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! - Marked as resolved by OP
JuanQ
JuanQOP6mo ago
This is my discord.js version and nodejs
No description
JuanQ
JuanQOP6mo ago
treble/luna
treble/luna6mo ago
what intents do you have
JuanQ
JuanQOP6mo ago
this?
No description
treble/luna
treble/luna6mo ago
in your client constructor
JuanQ
JuanQOP6mo ago
No description
treble/luna
treble/luna6mo ago
p sure you need GuildModeration for that event
JuanQ
JuanQOP6mo ago
Add that one to the list?
treble/luna
treble/luna6mo ago
yes
JuanQ
JuanQOP6mo ago
Thanks, it already worked for me.
Want results from more Discord servers?
Add your server