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

Modify the positions of a set of role objects for the guild. Requires the MANAGE_ROLES permission. Returns a list of all of the guild's role objects on success. Fires multiple Guild Role Update Gateway events.

Parameters

bot: Bot
guildId: bigint