Skip to main content
Module

x/discordeno/mod.ts>modifyRolePositions

Discord API library for Deno
Go to Latest
function modifyRolePositions
import { modifyRolePositions } from "https://deno.land/x/discordeno@13.0.0-rc45/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