title: DiscordJS Detecting when a User joins a guild
body: <pre><code>client.on('guildMemberAdd', guildMemberAdd =&gt; {
    console.log("Guild Member joined");
  });
  </code></pre>
  
  <p>I know I have some noob error please help lmao, Just trying to simply detect when a user joins a guild/server and give them a certain role.</p>