Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
function hasGuildPermissions
import { hasGuildPermissions } from "https://deno.land/x/discordeno@17.2.0/template/beginner/deps.ts";

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

Parameters

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