title: How do i make my command return if a bot is mentioned?
body: <p>This is the start of my command. I tried <code>if(member === bot) return message.channel.send(&quot;You can't rob bots&quot;)</code>
  But it didnt work, any help would be appreciated</p>
  <pre><code>client.on('message', async message =&gt; {
    if(message.content.startsWith(&quot;$$rob&quot;)) {
  const member = message.mentions.members.first()
  if(!member) return message.channel.send(&quot;You need to mention a user to rob them&quot;)
  </code></pre>