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

Checks if the bot has these permissions f0r the given channel

Parameters

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