Skip to main content

Module lockdown

Module lockdown 

Source
Expand description

Emergency lockdown commands (specification §8.10, governance §9).

There is no moderation.lockdown.update command: renewal is a new enable, which replaces the active lockdown (§8.10, permissions §4.6); the lockdown.update audit action (§8.8) records such a replacement. An unknown moderation.lockdown.* type gets UNSUPPORTED_COMMAND.

Structs§

Disable
moderation.lockdown.disable ({}).
Enable
moderation.lockdown.enable (§8.10); responds with the full Lockdown.
Get
moderation.lockdown.get ({}).
GetResponse
moderation.lockdown.get response (§8.10): { "lockdown": object | null }, the full form for MANAGE_SAFETY holders, otherwise the public form; null when none is active.

Constants§

NEWCOMER_WINDOW_MAX_S
Largest newcomer_window_s: 30 days (§8.10).