Skip to main content
Latest
function requireBotChannelPermissions
import { requireBotChannelPermissions } from "https://deno.land/x/discordeno@18.0.1/template/minimal/deps.ts";

Throws an error if the bot has not all of the given channel permissions

Parameters

channel: bigint | Channel
permissions: PermissionStrings[]