Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
function validatePermissions
import { validatePermissions } from "https://deno.land/x/discordeno@18.0.1/plugins/permissions/src/permissions.ts";

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

Parameters

permissionBits: bigint
permissions: PermissionStrings[]