Skip to main content
Latest
interface CreateGuildRolePayload
import { type CreateGuildRolePayload } from "https://deno.land/x/denord@0.1.0/mod.ts";

Properties

optional
name: string

name of the role DEFAULT: "new role"

optional
permissions: Permission[]

bitwise value of the enabled/disabled permissions DEFAULT: @everyone permissions in guild

optional
color: integer

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