Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
function hasChannelPermissions
import { hasChannelPermissions } from "https://deno.land/x/discordeno@13.0.0-rc45/plugins/permissions/mod.ts";

Checks if the given member has these permissions for the given channel

Parameters

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