Interface AssignmentGroup

An assignment group: a named, colored collection of roles and/or users that can be placed onto one or more nets. Introduced in Star Comms shard v1.0.116.

interface AssignmentGroup {
    autoAssign: boolean;
    color: string;
    createdAt: string;
    id: string;
    name: string;
    netIds: number[];
    roleIds: string[];
    updatedAt: string;
    userIds: string[];
}

Properties

autoAssign: boolean

Whether members of this group are automatically assigned to its nets.

color: string

Display color as a #RRGGBB hex string. Defaults to #3D8BFF.

createdAt: string

ISO timestamp at which the group was created.

id: string

Stable group identifier (g followed by 16 hex characters). Omit when creating.

name: string

Human-readable group name (max 40 characters).

netIds: number[]

Numeric net IDs this group is currently placed on.

roleIds: string[]

Discord role IDs that belong to this group (max 50).

updatedAt: string

ISO timestamp at which the group was last updated.

userIds: string[]

Discord user IDs that belong to this group (max 200).