title: How to delete message upon reaction discord.js
body: <p>This code errors no matter how I change it, and I just want it to delete the message upon receiving "" reaction.</p>
  
  <pre class="lang-js prettyprint-override"><code>client.on('messageReactionAdd', (reaction, user) =&gt; {
      if (user.bot) return;
      if (reaction.emoji.name === "") {
      message.delete(0500);
      }
  })
  </code></pre>