Skip to main content
Module

x/discordeno/mod.ts>EditGuildRole

Discord API library for Deno
Extremely Popular
Go to Latest
interface EditGuildRole
import { type EditGuildRole } from "https://deno.land/x/discordeno@13.0.0-rc45/mod.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)