title: Discord JS // Trying to add role by reacting to the message
body: <pre class="lang-js prettyprint-override"><code>bot.on('messageReactionAdd', async (reaction, user) =&gt; {
    // Define the emoji user add       
    let role = message.guild.roles.find(role =&gt; role.name === 'Alerts');
    if (message.channel.name !== 'alerts') return message.reply(':x: You must go to the channel #alerts');
    message.member.addRole(role);
  });
  </code></pre>
  
  <p>Thats the part of my bot.js. I want the user to react in a certain channel and receive role Alerts  </p>