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

x/oasis/tests/deps.ts>createRole

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

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

Parameters

bot: Bot
guildId: bigint
optional
reason: string