0

he don't view new member and don't write on console "nouveau membre"

Client.on("guildMemberAdd", (member, guild) => {
  console.log("nouveau membre");

})

  • Do your other events emit? You *may* need to enable the guild members intent – Elitezen May 19 '21 at 14:36
  • Does [this question](https://stackoverflow.com/questions/64559390/none-of-my-discord-js-guildmember-events-are-emitting-my-user-caches-are-basica) relate to your problem? – PerplexingParadox May 19 '21 at 14:50

1 Answers1

0

You need to have SERVER_MEMBERS_INTENT in order to receive the guildMemberAdd event.

If you have a verified bot then it needs whitelisting, if not then just go to your application and to the bot tab and toggle the server members intent

Dharman
  • 30,962
  • 25
  • 85
  • 135
Assassin
  • 54
  • 4