Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
function requireChannelPermissions
import { requireChannelPermissions } from "https://deno.land/x/discordeno@13.0.0-rc45/template/minimal/deps.ts";

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

Parameters

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