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

x/discordeno/helpers/roles/mod.ts

Discord API library for Deno
Go to Latest
import * as discordeno from "https://deno.land/x/discordeno@13.0.0-rc45/helpers/roles/mod.ts";

Functions

Add a role to the member

Create a new role for the guild. Requires the MANAGE_ROLES permission.

Delete a guild role. Requires the MANAGE_ROLES permission.

Edit a guild role. Requires the MANAGE_ROLES permission.

Returns a list of role objects for the guild.

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.

Remove a role from the member