title: Discord.js v.13.3.1:guildmemberadd event not working
body: <p>I recently updated my discord.js version from v12 to v13.3.1 and the 'guildMemberAdd' event stopped working, although I enabled PRESENCE INTENT as well as SERVER MEMBERS INTENT on my application.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>const Discord = require('discord.js');
  
  const client = new Discord.Client({ intents: [Discord.Intents.FLAGS.GUILD_MESSAGES, Discord.Intents.FLAGS.GUILDS] });
  
  
  client.once('ready', () =&gt; {
      console.log(client.user.tag + ' is online!');
  });
  
  client.on("guildMemberAdd", guildMember =&gt; {
      let welcomeRole = guildMember.guild.roles.cache.find(role =&gt; role.name === 'member');
      guildMember.roles.add(welcomeRole);
  });</code></pre>
  </div>
  </div>
  </p>