Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
function higherRolePosition
import { higherRolePosition } from "https://deno.land/x/discordeno@17.2.0/plugins/permissions/src/permissions.ts";

Checks if the first role is higher than the second role

Parameters

guildOrId: bigint | Guild
roleId: bigint
otherRoleId: bigint