Infractions
Track warnings and points via /warn with automated escalation thresholds.
Before you start
Dashboard → Safety & logs → Infractions (`/warn` `/case`)- Create a staff-only
#infraction-logschannelStores every warning, point total, and escalation action so moderators share full context. - Grant enforcement permissions & role orderGive
PotatoModerate / Kick / Ban Membersas needed and dragPotatoabove regular member roles. - Required permissionsBot needs Manage Roles, Moderate/Kick/Ban Members, and Manage Messages as configured.
Steps & screen guide#
Set infraction types, point thresholds, and point decay
Assign point weights per infraction type, define automatic escalation thresholds, and optionally expire old points.
- Define infraction types & weights: In
Infractions, create clear categories (e.g., Minor spam = 1 pt, Harassment = 5 pts) so all moderators score consistently. - Configure escalations, decay, logs & Save: Set thresholds (e.g., 3 pts → Timeout, 6 pts → Kick), optional decay days, bind
#infraction-logs, clickSave, and turn the module ON.
Violation types points & escalation thresholds Expected result
Point weights, escalation steps, decay rules, and log channel are saved and active.
- Define infraction types & weights: In
Issue warnings and manage cases via
/warn, context menu, and/caseModerators can warn directly in Discord via
/warnor the message context menu, creating aCASE-xxxxxxrecord with automatic point totals.- Create a case with
/warnor right-click: Run/warnor right-click an offending message →Apps→Add infractionto generate aCASE-xxxxxxrecord and tally points. If the operator restricts evidence file formats, Discord filters the attachment picker accordingly (e.g. PNG, PDF). - Review & edit via
/warningsand/case: Check a member's history with/warnings, and inspect, add notes/evidence, or revoke a specific record using/case(if an attachment extension isn't permitted, Potato tells you which formats are accepted).
Expected result
Every action receives a traceable
CASE-xxxxxxID and updates point totals live.- Create a case with
Verify evidence links, DM delivery, and escalation triggers
Test a low-point infraction and revoke it afterward to confirm logging, evidence links, and threshold enforcement.
- Verify
#infraction-logs& escalation: Confirm the log message arrives withCASE-xxxxxx, and crossing a point threshold executes the matching Discord timeout or action. - Clean up the test record: Revoke the test case via
/caseor the dashboard and clear any test timeout immediately.
Expected result
Case creation, automatic escalation, logging, and revocation are verified.
- Verify
Advanced options & notes#
Customization#
Supports /warn, /warnings, /case, point decay/expiry, case search, revoking, and operator-configured evidence file type filtering on /warn and /case edit.
Context-menu evidence privacy & editing past cases#
For privacy minimization, right-click infractions do not store full chat text, only the message link, message ID, attachment URL/filename, and moderator notes.
Updating points or notes on an existing case only adjusts the record and never re-fires automatic timeouts, kicks, or bans; thresholds only evaluate when new infractions are added.
When the operator configures allowed evidence file formats, Discord filters the picker on /warn and /case edit (for example .png, .pdf), and the bot lists accepted extensions if rejected. Without a platform filter, attachments work normally.
Example#
Example
Consistent moderation scale: 1 pt (spam), 2 pts (insults), 5 pts (scam); 3 pts triggers a 1h timeout, 6 pts kicks, and points decay after 30 days.
Notes & limits#
Notes & limits
Saving rules never retroactively punishes past cases; cannot enforce on owners or roles above the bot; attachments failing operator file type rules are rejected with allowed extensions.
Updating & turning off#
- Always revoke mistaken cases officially: Verbal apologies leave points on record. Revoke the case so points deduct cleanly.
- Link Security alerts to Infractions: Tick Infraction case on high-confidence Security rules to unify all records in one place.
Troubleshooting & FAQ#
Troubleshooting
Verify bot timeout/kick/ban permissions and that its role ranks above the target member.
Points passed the escalation threshold, yet Discord took no action?
- Why it happens:
Potatosits below that member's top role (or they are Owner/Admin),PotatolacksModerate/Kick/Ban Members, or points came from editing an old case. - What to check: Compare role heights and permissions in Discord Server Settings and inspect the action log inside the case entry.
- How to fix it: Raise
Potato's role in Discord, grant missing permissions, and apply the overdue action manually if needed. - How to verify: Subsequent new cases crossing thresholds execute automatic punishments properly.
Case was created, yet the member says they got no DM notice?
- Why it happens: The member disabled server DMs in Discord privacy settings, left/blocked the bot, or DM notifications are disabled in module settings.
- What to check: Check the DM notification setting in
Infractionsand inspect the case delivery note. - How to fix it: Keep DM enabled for normal members; rely on
#infraction-logsas the source of truth when a user blocks DMs. - How to verify: Members allowing DMs receive case notices while logs retain full records.
Does right-clicking a message to add an infraction copy the full chat text?
No. Only the message link, message ID, attachment URL/filename, and moderator notes are stored, never full chat text.
If I raise points on an old case, does it trigger a new punishment immediately?
No. Editing existing cases updates the log without re-evaluating automatic punishments.
Does point decay erase old infraction records from history?
No. Expired cases stop counting toward active thresholds while remaining visible in audit history.
Why are some files hidden or rejected when attaching evidence with /warn or /case edit?
/warn or /case edit?The operator may have limited accepted evidence extensions (such as PNG or PDF). Discord filters the attachment picker accordingly, and Potato lists allowed extensions if a different file is sent.