Search code examples
discord.jsmessageglitch-framework

my bot don't see event "guildMemberAdd" why?


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

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

})


Solution

  • 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