Skip to main content
Module

x/natico/discordeno_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/discordeno_deps.ts";

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

Parameters

bot: Bot
guildId: bigint
optional
reason: string