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

Checks if the first role is higher than the second role

Parameters

guildOrId: bigint | Guild
roleId: bigint
otherRoleId: bigint