#Problem with the guildBanAdd event

11 messages · Page 1 of 1 (latest)

lofty oasis
#

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.

fringe stumpBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • Not a discord.js issue? Check out #1081585952654360687.
  • 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
carmine root
#

what intents do you have

lofty oasis
carmine root
#

in your client constructor

lofty oasis
carmine root
#

p sure you need GuildModeration for that event

lofty oasis
carmine root
#

yes