Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/denocordts/src/structures/mod.ts>Guild#createRole

An Object Oriented Discord API wrapper for Deno.
Latest
method Guild.prototype.createRole
Re-export
import { Guild } from "https://deno.land/x/denocordts@1.2.0/src/structures/mod.ts";

Parameters

unnamed 0: { name: string; permission: (keyof PermissionFlagsBits)[]; color?: ColorResolvable; displaySeparatelyInSidebar?: boolean; mentionable?: boolean; reason?: string; }