entities/SelfRoles
Classes
Section titled “Classes”SelfRoles
Section titled “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.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SelfRoles():
SelfRoles
Returns
Section titled “Returns”Properties
Section titled “Properties”Description
Section titled “Description”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
Section titled “RoleId”RoleId:
string
Defined in: entities/SelfRoles.ts:17
Discord role snowflake ID.
RoleName
Section titled “RoleName”RoleName:
string
Defined in: entities/SelfRoles.ts:21
Human-readable role name shown in the selection menu.