title: Discord JS message.member.roles.cache.some
body: <p>i tried making a command with role restrictions, and i'm having problems with role restriction itself.
  <code>if(!message.member.roles.cache.some(role =&gt; role.name === 'Role1')) return message.reply("You can't use the command!")</code></p>
  
  <p>So, if i use only 1 role as restriction it works completey fine, but as long as i add second role</p>
  
  <p><code>if(!message.member.roles.cache.some(role =&gt; role.name === 'Role1'||'Role2')) return message.reply("You can't use the command!")</code></p>
  
  <p>It turns into a mess, anyone, even a person without any roles can use the command! I tried many ways of making it work, i tried using Role ID's instead of names like this</p>
  
  <p><code>message.member.roles.cache.has('role-id-here'||'role2id-here');</code>
  and still, it didn't work!</p>
  
  <p>I would appreciate any help to me with that.Thanks!</p>