Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/discordeno_patched/plugins/mod.ts>hasChannelPermissions

Discord API library for Node and Deno
Latest
function hasChannelPermissions
import { hasChannelPermissions } from "https://deno.land/x/discordeno_patched@18.0.3/plugins/mod.ts";

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

Parameters

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