Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RoleOptions

Hierarchy

  • RoleOptions

Index

Properties

Optional color

color: undefined | number

The hex color for the created role

default

0

example

0x406fff // creates a blue role

Optional listedSeparately

listedSeparately: undefined | false | true

Whether the created role should be displayed separately in the sidebar

default

false

Optional mentionable

mentionable: undefined | false | true

Whether the created role should be mentionable

default

false

Optional name

name: undefined | string

The name of the created role

default

"new role"

Optional permissions

permissions: PermissionFlags

The enabled permission flags for the created role

default

Permissions for the @everyone role

Generated using TypeDoc