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

x/oasis/tests/deps.ts>CreateGuildRole

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

Properties

optional
name: string

Name of the role, default: "new role"

optional
permissions: PermissionStrings[]

Bitwise value of the enabled/disabled permissions, default: everyone permissions in guild

optional
color: number

RGB color value, default: 0

optional
hoist: boolean

Whether the role should be displayed separately in the sidebar, default: false

optional
mentionable: boolean

Whether the role should be mentionable, default: false

optional
unicodeEmoji: string

The role's unicode emoji (if the guild has the ROLE_ICONS feature)

optional
icon: string

the role's icon image (if the guild has the ROLE_ICONS feature)

optional
name: string

Name of the role, default: "new role"

optional
permissions: PermissionStrings[]

Bitwise value of the enabled/disabled permissions, default: everyone permissions in guild

optional
color: number

RGB color value, default: 0

optional
hoist: boolean

Whether the role should be displayed separately in the sidebar, default: false

optional
mentionable: boolean

Whether the role should be mentionable, default: false

optional
unicodeEmoji: string

The role's unicode emoji (if the guild has the ROLE_ICONS feature)

optional
icon: string

the role's icon image (if the guild has the ROLE_ICONS feature)