Skip to main content
Extremely Popular
Go to Latest
function higherRolePosition
import { higherRolePosition } from "https://deno.land/x/discordeno@13.0.0-rc45/plugins/permissions/mod.ts";

Checks if the first role is higher than the second role

Parameters

guildOrId: bigint | Guild
roleId: bigint
otherRoleId: bigint