title: How can I make my Discord Bot mention someone I mentionned?
body: <p>I just started coding a Discord bot and I have a small problem with mentioning someone. I want my bot to mention someone and say how cool he is when I mention someone on Discord in any channel, for example: </p>
  
  <blockquote>
  <pre><code>Dahkris: lul howcool @Myfriend
  Bot: @Myfriend is 80% cool ! 
  </code></pre>
  </blockquote>
  
  <p>( The random part is functional )  </p>
  
  <p>Since I'm new to js, I don't know how those arguments work, so I don't know if I should use @member or "member.displayName", etc ( I tried different types ).  I've already searched for similar codes but usually the bot only mention the author of the message. </p>
  
  <pre><code>bot.on('message', message =&gt; {
      if (message.startsWith === 'lul howcool') {
        if ( message.content === @member ) {
        message.channel.send ( @member + ' is ' + ( Math.floor(Math.random() * 100) + 1 ) + "% cool ! " )
      }
    }
    })
  </code></pre>
  
  <p>This code doesn't seem to have any errors but doesn't work because the message never contains the " @member" ( I think ).</p>