Go to Latest
function requireChannelPermissions
import { requireChannelPermissions } from "https://dotland.deno.dev/x/discordeno@17.0.1/plugins/mod.ts";

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

Parameters

bot: BotWithCache
channel: bigint | Channel
member: bigint | Member
permissions: PermissionStrings[]