title: How to make a bot identify you either by ID or permission
body: <p>I'm having a problem where my bot only identifies by permission, I even made sure that my ID was where the <code>!message.author.id ==</code> was. I removed the <code>!</code> from <code>!message.author.id</code> and it my bot still relies on the permission</p>
  
  <p>I tried
   - Removing the ! from the <code>!message.author.id</code>
   - Adding a <code>else</code> after the return message
   - Finding similar issues
   - And searched the Discord.JS documentation.</p>
  
  <pre><code>if(!message.author.id ==`329023088517971969` || !message.member.hasPermission(['MANAGE_GUILD'])) return message.channel.send(`You don't have the permissions to do this!`)
  &lt;code here&gt;
  </code></pre>
  
  <p>I expect the output to be that IF the bot finds my ID (the author) is the same as the value after, it would let me pass, OR if both statements are true it would let me pass, OR if the hasPermission was true, it would let me pass.
  The actual result is that it only relies on the hasPermission and ignores the author ID.</p>
  
  <p>Basically
  Bot should: Either run code after the <code>if()</code> if the author's id is equal to the one shown in the code, or member has the following permissions</p>