Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
function requireChannelPermissions
import { requireChannelPermissions } from "https://deno.land/x/discordeno@17.2.0/template/beginner/deps.ts";

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

Parameters

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