Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Extremely Popular
Go to Latest
function modifyRolePositions
import { modifyRolePositions } from "https://deno.land/x/discordeno@13.0.0-rc45/plugins/fileloader/deps.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