/slowmode to limit message frequency and /lock to stop posting in a channel. For a wider incident, use Server lockdown.
restore-after:10m; for a temporary lock, add duration:10m. Complete commands execute directly.
Check Command reference for the available duration and temporary-action inputs.
Slowmode
With^ saved as your prefix, these commands set a ten-second delay: