Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
function hasGuildPermissions
import { hasGuildPermissions } from "https://deno.land/x/discordeno@18.0.1/template/beginner/deps.ts";

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

Parameters

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