Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
function validatePermissions
import { validatePermissions } from "https://deno.land/x/discordeno@17.0.1/plugins/permissions/mod.ts";

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

Parameters

permissionBits: bigint
permissions: PermissionStrings[]