PaulCLI logoPaulCLI

Moderation

Case-based moderation with slash commands and a dashboard action queue.

PaulCLI records moderation actions as numbered cases per guild. Slash commands create cases after a successful Discord action, and dashboard actions are written to a queue that the bot polls every 5 seconds.

Cases store the target, moderator, action, reason, optional duration and optional expiry time. Temporary bans are restart-resilient: a sweep checks expired BAN cases every 60 seconds and records an automatic UNBAN case after lifting the ban.

Logging integration

Every created case calls the logging module. If moderation-action logging is enabled in the logging configuration, the action is sent to the configured log destination.