Go to Latest
function validatePermissions
import { validatePermissions } from "https://dotland.deno.dev/x/discordeno@13.0.0-rc45/template/bigbot/deps.ts";

Checks if the given permission bits are matching the given permissions. ADMINISTRATOR always returns true

Parameters

permissionBits: bigint
permissions: PermissionStrings[]