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

Throws an error if this member has not all of the given permissions

Parameters

guild: bigint | Guild
member: bigint | Member
permissions: PermissionStrings[]