Skip to content

Type Alias: RoleLike ​

ts
type RoleLike = Pick<IServerRole, "id" | "name" | "position" | "color">;

Defined in: memberGroups.ts:37

How a server's member list is grouped: everyone online under the most senior role they hold, each person once; online people with no role under "Online"; everyone offline together at the end.

A role's position is its seniority: lower is more authority, and the owner is 0.

Released under the GNU Affero General Public License v3.0.