Skip to content

Variable: SYSTEM_ROLE_KEYS ​

ts
const SYSTEM_ROLE_KEYS: readonly ["owner", "admin", "moderator", "member", "guest"];

Defined in: types/permissions.ts:136

The standard roles every server is created with.

Ordered from most to least authority; that order is also their starting position. owner follows Server.createdBy and is never assigned by hand.

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