Interface InstanceRegistrations

interface InstanceRegistrations {
    approvalRequired: boolean;
    enabled: boolean;
    message?: null | string;
    minAge?: null | number;
    reasonRequired?: null | boolean;
}

Properties

approvalRequired: boolean

Whether registrations require moderator approval.

enabled: boolean

Whether registrations are enabled.

message?: null | string

A custom message to be shown when registrations are closed.

minAge?: null | number

A minimum age required to register, if configured.

reasonRequired?: null | boolean

Whether registrations require the user to provide a reason for joining. Only applicable when registrations[approval_required] is true.