Skip to content

Moderation Commands

Maxime Gauthier edited this page Apr 30, 2026 · 1 revision

Moderation Commands

Administrators manage moderation state through !moderation commands.

Core Commands

!moderation help
!moderation watchlist
!moderation watchlist add @user
!moderation watchlist remove @user
!moderation karma @user
!moderation karma history @user
!moderation karma history @user 10
!moderation karma set @user -3
!moderation karma reset @user
!moderation karma add @user 1
!moderation karma remove @user 1
!moderation review recent
!moderation review recent 10
!moderation review @user
!moderation review clear
!moderation review repost 1234567890

restore remains accepted as a compatibility alias for review repost.

Harassment Insight Commands

When PLUGINS=postgres,harassment is enabled:

!moderation harassment risk @user
!moderation harassment pair @user_a @user_b
!moderation harassment incidents 3
!moderation harassment incidents @user 3
!moderation harassment incidents 24h 3
!moderation harassment incidents @user 24h 3

The incidents command supports fixed windows of 1h, 24h, and 7d. The optional mention, limit, and window tokens can appear in flexible order as long as each appears at most once.

Shadow Mode

Set MODERATION_SHADOW_MODE=true to classify messages and record the review queue without deleting messages, reposting rewrites, changing karma, or applying automod.

Shadow mode generates would-be rewrites by default. Set MODERATION_SHADOW_REWRITE=false to avoid rewrite-generation calls while testing.

Clone this wiki locally