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/template/beginner/deps.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[]