title: Discord.js if user has role?
body: <p>I need help with my bot.
  My bot should only respond if a user has a specific role. It should be definable by name and not by ID.
  I user Discord.js 12.0.2</p>
  
  <p>my code</p>
  
  <pre><code>//DBD embed
  client.on("message", async message =&gt; {
    let cmd = message
      if (message.content === '/code-embed') {
        message.channel.send("Der angefragte Bot code", { files: [ "./dbd/embed.txt" ] })
  }})
  </code></pre>