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

Checks if the given member has these permissions in the given guild

Parameters

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