title: How to add a role on when a new member joins?
body: <p>I want to automatically assign a role to every user that joins a guild. I'm using the code below: it doesn't work, but it logs no error.<br>
  I've already checked that my bot has the permission to manage roles.</p>
  
  <pre class="lang-js prettyprint-override"><code>bot.on('guildMemberAdd', member =&gt; {      
    var role = member.guild.roles.find('Member', 'user');
    member.addRole(role);
  });
  </code></pre>