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

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

Parameters

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