Nouveau-25% on Premium with the code NOEL25, until December 31
Documentation Security and moderation

Sanctions and jail

Everyday sanctions, a record per member, and automatic escalation when warnings pile up.

3 min read 5 sections 31 commandes

In short
/warn, /mute, /kick, /ban and /modtools jail are ready as soon as the bot is added. /gestion modconfig sets the sanctions channel and the escalation.
In this guide
  1. Sanctions
  2. Record and notes
  3. Automatic sanction
  4. Jail
  5. Roles and nicknames

01Sanctions

CommandEffect
/warnWarning, counted toward automatic escalation
/muteDiscord timeout, up to 28 days
/kickKick, the member can come back
/banBan, permanent or for a set duration
/softbanBans then immediately unbans, to erase their recent messages
/modtools jailJail: the member only sees one channel (see below)
/quarantineIsolates a member with the anti-raid quarantine role

Each sanction has its case number, reason, duration and moderator. The member is notified by DM (can be disabled) and the sanction is posted in the sanctions channel.

02Record and notes

/casier shows a member's full history. /warns filters active warnings, the full history or a specific case.

/modtools modnote adds an internal note on a member, invisible to them, /modtools modnotes reads them back. /modtools modlogsearch searches for a word in the reasons, /gestion modstats gives the moderation statistics and /modtools warnexport exports the whole server's record.

03Automatic sanction

/gestion modconfig sets the sanctions channel, the direct message to the member, and the escalation: after X active warnings (3 by default), the member is automatically muted, jailed, kicked or banned. The duration of the automatic mute or jail can also be set.

AutoMod, the word filter and the anti-link feed the same record: their warnings count towards the escalation.

04Jail

/modtools jail puts a member in jail: they lose their roles (kept in memory), get the jail role and can only see one channel where they can talk to the staff, with a voice channel and a "reason" channel next to it. Everything is given back on release.

  1. Install with /config jailconfig, "Install all" button: the Prisoner role, the #prison channel, the Prison voice channel and the #raison channel are created, then all other channels are closed to the jail role, voice channels included.
  2. Lock up: +jail @membre 2h flood. Without a duration, it's the default duration or until release.
  3. Release with /modtools unjail, or from the /modtools jails list. When the duration ends, it's automatic.
  • Reason channel: a read-only channel for the prisoner. Each time someone is jailed, the bot posts an embed there that mentions them, gives the reason (or says no reason was given), the release date, and announces that a staff member will come and see them in the jail channel. The "Reason channel" button of the panel turns it off or recreates it: when off, the message goes back to the jail channel.
  • Jail voice channel: a voice channel reserved for jailed members and the staff. A member jailed while in a voice channel is moved there, and leaves it on release. The "Jail voice channel" button of the panel turns it off or recreates it, and the menu picks another one.
  • Anti-escape: leaving then rejoining the server puts them back in jail.
  • New channels are closed to the jail role automatically.
  • Removing the jail role by hand also releases the member, with their roles.
  • Jail can be the automatic sanction of the warning escalation.

A role above AshBots' role, or managed by an integration (Booster for example), can't be removed: the member keeps it during their sentence.

05Roles and nicknames

/modtools derank removes all of a member's roles at once. /modtools lockname locks their nickname: it's put back on every change. /modtools prune kicks inactive members with no role at all.

Commands in this guide

Options and permissions for each command

Something unclear? Tell us on the support server, and the guide will be fixed.