title: How to detect if the bot has been mentioned?
body: <p>How can I detect if my bot is mentioned?</p>
  
  <p>I tried these thus far:</p>
  
  <pre><code>if (msg.content.toLowerCase().includes('@The Guardian of The Bar#5180')) {
    msg.channel.send("My prefix here is" + prefix + "\n You can start with ``" + prefix + "help``");
  }
  </code></pre>
  
  <p></p>
  
  <pre><code>if (msg.content.toLowerCase().includes('@The Guardian of The Bar')) {
    msg.channel.send("My prefix here is" + prefix + "\n You can start with ``" + prefix + "help``");
  }
  </code></pre>
  
  <p></p>
  
  <pre><code>if (msg.content.includes('@The Guardian of The Bar#5180')) {
    msg.channel.send("My prefix here is" + prefix + "\n You can start with ``" + prefix + "help``");
  }
  </code></pre>
  
  <p></p>
  
  <pre><code>if (msg.content.includes('@The Guardian of The Bar#5180')) {
    msg.channel.send("My prefix here is" + prefix + "\n You can start with ``" + prefix + "help``");
  }
  </code></pre>