Skip to main content
Latest
function isHigherPosition
import { isHigherPosition } from "https://deno.land/x/discordeno@18.0.1/plugins/permissions/mod.ts";

Checks if the member has a higher position than the given role

Parameters

guildOrId: bigint | Guild
memberId: bigint
compareRoleId: bigint