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

Checks if the bot has these permissions in the given guild

Parameters

bot: BotWithCache
guild: bigint | Guild
permissions: PermissionStrings[]