Skip to main content
Go to Latest
function hasChannelPermissions
import { hasChannelPermissions } from "https://deno.land/x/discordeno@17.0.1/plugins/mod.ts";

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

Parameters

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