title: Check if user has any of listed required permissions
body: <p>I'd like to check if the user meets any of a command's listed permission. An example would be if the required permissions were <code>Administrator</code> or <code>Manage_Webhooks</code>, and if the user met just one of those permissions, the command would run.</p>
  
  <p>Here's some code</p>
  
  <pre><code>if (message.member.guild.me.hasPermission("MANAGE_WEBHOOKS", "ADMINISTRATOR"))
    return message.channel.send("I don't have the permissions to make webhooks, please contact an admin or change my permissions!")
  if (!message.member.hasPermission("MANAGE_WEBHOOKS", "ADMINISTRATOR")) return message.channel.send("You need to be an admin or webhook manager to use this command.");
  </code></pre>
  
  <p>If rest of the code is needed, here it is.</p>
  
  <pre><code>const Discord = require('discord.js');
  const commando = require('discord.js-commando');
  
  class pingy extends commando.Command {
    constructor(client) {
      super(client, {
        name: 'pinghook',
        group: 'help',
        memberName: 'pinghook',
        description: 'This is where you can set the pinghook.',
        aliases: ['ph', 'pingh', 'phook', 'hook'],
      })
    }
  
    async run(message, args) {
      if (message.member.guild.me.hasPermission("MANAGE_WEBHOOKS", "ADMINISTRATOR"))
        return message.channel.send("I don't have the permissions to make webhooks, please contact an admin or change my permissions!")
      if (!message.member.hasPermission("MANAGE_WEBHOOKS", "ADMINISTRATOR")) return message.channel.send("You need to be an admin or webhook manager to use this command.");
  
      const avatar = `https://cdn.discordapp.com/attachments/515307677656678420/557050444954992673/Generic5.png`;
      const name2 = "PingBot";
      const hook = await message.channel.createWebhook(name2, avatar).catch(error =&gt; console.log(error))
      await hook.edit(name2, avatar).catch(error =&gt; console.log(error))
      message.channel.send("Your webhook is now created! You can delete it at any time and can be re-added by using this command! You can also edit the webhook's name or avatar.")
  
      setInterval(() =&gt; {
        hook.send("@everyone you've been pinged.")
      }, 500);
    }
  };
  module.exports = pingy;
  </code></pre>
  
  <p>Here's what I want to happen:<br>
  When the user runs a command with required permissions, and if the user meets just one of those permissions, the command runs. The same also applies to the bot. It also checks through all the roles and sees if any of those roles meet the criteria too. (Both for bot &amp; user)</p>
  
  <p>What actually happens:<br>
  The bot requires the user to meet both permissions for itself and the user. The bot won't run the command until both users have met all the permissions required in the code. The bot checks only the highest role of the user and doesn't check the rest of the roles to see if any of those meet the require d permission.</p>