The command can only be executed if the bot has all of the provided permissions in a channel.
channelID- The channel to check the permissions for. Use
$channelIDfor the current channel.
permissions- The permissions that the bot needs to execute the command. Separate permissions with
errorMessage- The message that is returned when the bot doesn't have the needed permissions.