Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
function botHasChannelPermissions
import { botHasChannelPermissions } from "https://deno.land/x/discordeno@17.2.0/plugins/permissions/mod.ts";

Checks if the bot has these permissions f0r the given channel

Parameters

channel: bigint | Channel
permissions: PermissionStrings[]