Skip to main content
Module

x/oasis/deps.ts>createRole

An object oriented Discordeno framework
Latest
function createRole
import { createRole } from "https://deno.land/x/oasis@2.1.0/deps.ts";

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

Parameters

bot: Bot
guildId: bigint
optional
reason: string