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

Calculates the permissions this member has in the given guild

Parameters

guildOrId: bigint | Guild
memberOrId: bigint | Member