Skip to content

entities/SelfRoles

Defined in: entities/SelfRoles.ts:11

Self-assignable Discord roles (maps to public.self_roles).

Officers register roles here via /create_role; members can then assign/remove these roles on themselves using the /roles command.

new SelfRoles(): SelfRoles

SelfRoles

Description: string | null

Defined in: entities/SelfRoles.ts:25

Description displayed when browsing available self-roles.

Id: string

Defined in: entities/SelfRoles.ts:13

RoleId: string

Defined in: entities/SelfRoles.ts:17

Discord role snowflake ID.

RoleName: string

Defined in: entities/SelfRoles.ts:21

Human-readable role name shown in the selection menu.