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

x/natico/examples/deps.ts>createRole

A powerful and customizable framework for Discordeno
Latest
function createRole
import { createRole } from "https://deno.land/x/natico@4.0.0-pre.4/examples/deps.ts";

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

Parameters

bot: Bot
guildId: bigint
optional
reason: string