title: Guild Member Add does not work (discordjs)
body: <p>I have a code where if someone joins the bot gives a welcome message but when a user joins, the bot does not give the welcome message.</p>
  <p>Code:</p>
  <pre><code>bot.on('guildMemberAdd', member =&gt; {
  
      const channel = member.guild.channels.cache.find(channel =&gt; channel.name === &quot;general&quot;)
      if (!channel) return;
  
      const joinembed = new Discord.MessageEmbed()
      .setTitle(`A new member just arrived!`)
      .setDescription(`Welcome ${member} we hope you enjoy your stay here!`)
      .setColor(&quot;#FF0000&quot;)
  
      channel.send(joinembed)
  });
  </code></pre>
  <p>My bot has all the permissions and is at the very top of the role hierarchy, please help I don't know what am I doing wrong. This problem also applies when the user leaves (It also does not give the welcome message)</p>