title: Custom reaction emoji discord js: "Client undefined"
body: <p>I'm trying to do a roleReact bot. The stock emojis are working and I based some on the official document of <code>discord.js</code>, but when it comes to custom emoji reactions I keep getting the result </p>
  
  <blockquote>
    <p>client undefined</p>
  </blockquote>
  
  <p>This is my code so far:</p>
  
  <pre><code>case "react":
  // this works
  message.react("").then(reaction =&gt; console.log(typeof reaction));
  //I keep getting a client undefiend error here
  message.react( client.emojis.get("410431571083132933")).then(reaction =&gt;  console.log(typeof reaction));
  message.react("410431571083132933").then(reaction =&gt; console.log(typeof reaction));
  break;
  </code></pre>
  
  <p>Does anybody know of a solution to this problem?</p>