Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oasis/tests/deps.ts>modifyRolePositions

An object oriented Discordeno framework
Latest
function modifyRolePositions
import { modifyRolePositions } from "https://deno.land/x/oasis@2.1.0/tests/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