Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
function botHasGuildPermissions
import { botHasGuildPermissions } from "https://deno.land/x/discordeno@18.0.1/plugins/permissions/src/permissions.ts";

Checks if the bot has these permissions in the given guild

Parameters

guild: bigint | Guild
permissions: PermissionStrings[]