Abyssal
Home
Tools
Docs
Support
Dashboard
# Moderation The Moderation module provides the core punishment commands (warn, mute, kick, ban and more), an escalating punishment ladder, member reports and a searchable punishment history. Punishments are logged per user with a heat count, and the ladder can automatically escalate repeat offenders from warnings to mutes, kicks and bans. ## Enabling Enable Moderation from the Modules page for your server. Moderators need the matching Discord permissions (for example Ban Members) to use the individual commands; per-role access on top of that is configured through the Staff module. ## Command groups Every punishment command has its own settings group on the Moderation settings page (Ban, Unban, Mute, Unmute, Kick and Warn) with: - **Slash Command**: adds or removes the command for this server. A removed command disappears from the server's command list on the next save. - **Right-click Command** (Ban, Mute, Unmute, Kick and Warn): adds or removes the matching right-click command (Ban User, Mute User, Unmute User, Kick User and Warn User) separately from the slash command. - **Text Command** (Ban, Unban, Mute, Unmute, Kick and Warn): adds or removes the matching text command, run with the server prefix, separately from the slash command. - **DM the User** (Ban, Mute, Unmute, Kick and Warn): whether the bot sends the member the configured direct message when the command is used. Unmute DMs the member when their timeout is removed, including when a native timeout is removed through Discord. - **Ban DM, Mute DM, Unmute DM, Kick DM and Warn DM**: the direct message editors sitting next to their DM toggles. Each opens the message builder with the variables for that action, so the default message can be rebuilt from scratch or replaced with embeds. The right-click command runs the same flow as its slash command, so turning the slash command's flow on or off applies to both. Staff ranks, strike restrictions and per-staff permission gates live in the Staff module and apply on top of the Discord permissions. ## Dashboard configuration The dashboard has Settings, Punishment Ladder, History and Reports views. - **Command groups**: one settings group per command (Ban, Unban, Mute, Unmute, Kick, Warn, Punish, History and Purge). Each group decides whether the slash command exists, whether its context command exists (the right-click command; Ban, Mute, Unmute, Kick, Warn, Punish with Punish User and Punish Message, History and Reports carry context commands), whether its text command exists (Ban, Unban, Mute, Unmute, Kick, Warn and both Purge commands), and whether the bot DMs the member (Ban, Mute, Unmute, Kick and Warn); the DM messages themselves are customized in the Formats tab. The Purge group holds both purge commands in one section: Purge deletes a number of recent messages and Purge Reactions clears reactions from messages instead. Turning a command off removes it from the server on the next save. - **Punishment Ladder page**: the escalation system lives on its own view. The **Enable Punishment Ladder** toggle turns the ladder on, and each offense type (the default types like Spam, Profanity and Slurs, plus any type you create) carries a **Reason** baked into every punish and ordered steps with an action (Warning, Mute, Kick or Ban) and an optional duration on Mute and Ban steps, so a Ban step without a duration is permanent while one with a duration unbans itself when the time runs out. Every punish records the reason as the type's reason (or its name) plus the offense count, like "Slurs (1st Offense)"; once a member is on the ladder's last step the count reads the plus form instead, like "Spam (5+ Offenses)". The command reply is the same one line embed the warn, mute, kick and ban commands send, and the log channel entry is the log format of the applied action (a mute step logs as User Muted, a warn step as User Warned, and so on). The step names like Mute (5 minutes) are generated from the action and duration, and steps are reordered freely with the move buttons. Types and steps are edited in the dashboard. - **Per-type overrides**: the type editor also carries a **Decay Window (hours)** (how long until a member drops one step on this type), a **Punish Cooldown** typed as a value with a unit pick of seconds, minutes, hours or days (enter 0 to disable the cooldown for the type) and **Permission Roles** (extra roles allowed to punish this type without the Moderate Members permission). The type's key is generated from the name, so the editor has no key field. Leaving a field empty keeps the server default. The type card on the ladder page shows the reason and a summary of the steps. - **Punishment Levels**: the people icon on each punishment type opens the levels popup for that track. It lists every member with punishments of that type on record and the level they stand at (which step the next punish applies, one past their level). Typing a level and saving pins the member to it until you reset them with the reset button, which puts them back to their record level. - **Reports**: members report users or messages with `/report` or the Report context commands (right-click), and every report shows up in the dashboard Reports tab for moderators to manage. Reports are on while at least one entry point is on: the `/report` slash toggle or one of the Report context command toggles; turn every entry point off and reports close. The optional **Reports Channel** also posts new reports there as an embed with a Resolve button. The **Confirmation DM** and **DM the Reporter on Resolve** toggles control what reporters receive, and their messages are customized in the Formats tab. The **Reports Badge** toggle shows a count of open reports next to the Reports tab in the module sidebar, and hovering the count names every open report it stands for. - **Report Cooldown**: how long a member waits between two report submissions, across `/report` and the Report right-click commands, typed as a value with a unit pick of seconds, minutes, hours or days. Set 0 to allow reports back to back. - **Limits card**: **Moderation Action Limits** rate limits how many moderation actions one moderator can run before they are put on a cooldown. **Actions Allowed** is the number of actions inside the **Action Window** (a value with a minutes or hours unit), and **Cooldown** is how long they wait after crossing the cap (also a value with a unit pick). **Applies To** decides who the limit covers: All Moderators limits everyone, Whitelist limits only moderators holding one of the **Limit Roles**, and Blacklist limits everyone except moderators holding one of them. **Actions That Count** opens a checkbox popup that picks which actions add to the count (Warn, Mute, Unmute, Kick, Ban and Unban), and **Actions Blocked On Cooldown** opens the same style popup that picks which actions a moderator on cooldown is refused; leaving every box unticked in either popup keeps the everything behavior. The limit counts the actions the bot records for the moderator (slash commands, text commands, right-click commands and punish ladder runs) and covers `/ban`, `/mute`, `/kick`, `/warn`, `/unmute`, `/unban` and `/punish` on both their slash and text versions; for per-rank moderation permissions instead, use the Staff module hierarchy. - **Log Discussion Threads group**: **Open a Thread on Moderation Logs** adds a discussion thread to every punishment log embed (command logs and native Discord punishment logs alike) so staff can talk about the action and drop extra evidence. **Thread Opening** picks how: Thread Button (the default) adds a thread button to every log and staff open the thread by clicking it, while Automatic opens the thread under every log right away; the thread is named after the log itself. Each log type carries its own toggle (Warn, Mute, Unmute, Kick, Ban, Unban, Punish, Report Resolution and Purge logs), so a server can thread its bans without threading its warns. The threads attach to the punishment logs, so Log Moderation with a Moderation Log Channel needs to be on in the Logging tab; while it is off, the module shows a warning in its readiness banner. Purge logs live in the Message Purges channel of the Logging tab and follow the same thread toggles. - The History view lists entries with totals for punishments and unpunishments, searchable per member. - **Formats tab**: every command reply, the log channel message for each action and the DM to the punished member are separately customizable (for example `ban.success`, `ban.log` and `ban.dm`). Command replies are short one line embeds by default (`{target.mention} was muted for **{duration.label}**{reason.inline}.`), while the log and DM entries keep their full field layouts. Log messages go to the channels the Logging section picks for bans, kicks, mutes, unmutes and unbans, and the same log and DM formats also fire when moderators punish natively through Discord's own menus. Variables include `{target.*}`, `{moderator.*}`, `{reason}`, `{reason.inline}` (the reason as a phrase fragment for one line responses, empty when no reason was typed), `{duration}` (the Expires At timestamp pair), `{duration.label}` and `{server}`. ## Commands Cases are recorded automatically, so `/history` and the dashboard show every warn, mute, kick and ban. The `/punish` command runs a configurable punishment ladder, and target protection stops moderators from punishing people above them. ### `/ban` Ban a user from the server. Needs the **Ban Members** permission by default. | Parameter | Type | Required | Description | | --- | --- | --- | --- | | `user` | User | Required | The user to ban. | | `duration` | Text | Optional | Duration (e.g. 3s, 5m, 8d). Leave empty for permanent. | | `delete_messages` | Text | Optional | How far back to delete the user's messages, e.g. 1h, 1d or 7d (up to 7 days). Leave empty to keep messages. | | `reason` | Text | Optional | The reason for the ban. | **Example:** `/ban user:@Spammer duration:7d reason:Raiding` ### `/blacklist` Blacklist a user from tickets or applications, or toggle a blacklist type. Needs the **Manage Roles** permission by default. | Parameter | Type | Required | Description | | --- | --- | --- | --- | | `module` | Text | Required | Which module to blacklist the user from - Choices: Applications, Tickets. | | `user` | User | Optional | User to blacklist. | | `duration` | Text | Optional | Duration (e.g. 30m, 7d). Leave empty for permanent. | | `reason` | Text | Optional | Reason for blacklist. | | `enabled` | Text | Optional | Enable or disable this blacklist type instead of blacklisting a user - Choices: Enabled, Disabled. | ### `/history` View the punishment history of a user. Needs the **Moderate Members** permission by default. The reply is hidden and opens a summary page with the member's total punishments, active punishments, last punishment and join date, with two buttons below it: - **History** opens the full punishment log, five entries per page, numbered from the newest down. Every entry shows the moderator, the reason, the duration and expiry for timed actions and when it happened. Four pagination buttons move between pages and a **Back** button returns to the summary. - **Active Punishments** lists the punishments still running, like the current timeout, a pending timed ban unban or an active blacklist, with the same entry layout. | Parameter | Type | Required | Description | | --- | --- | --- | --- | | `user` | User | Required | User to inspect. | ### `/kick` Kick a user from the server. Needs the **Kick Members** permission by default. | Parameter | Type | Required | Description | | --- | --- | --- | --- | | `user` | User | Required | The user to kick. | | `delete_messages` | Text | Optional | How far back to delete the user's messages in the channel, e.g. 5m or 1h. Leave empty to keep messages. | | `reason` | Text | Optional | Reason for the kick. | ### `/mute` Mute (timeout) a user. Needs the **Moderate Members** permission by default. | Parameter | Type | Required | Description | | --- | --- | --- | --- | | `user` | User | Required | User to mute. | | `duration` | Text | Required | Duration e.g. 5m, 2h, 1w. Timeouts stop at 28 days - use a temporary ban for longer. | | `reason` | Text | Optional | Reason for mute. | | `delete_messages` | Text | Optional | How far back to delete the user's messages in the channel, e.g. 5m or 1h. Leave empty to keep messages. | **Example:** `/mute user:@Spammer duration:30m reason:Spamming invites` ### `/punish` Punish a member for one of the configured punishment types. Needs the **Moderate Members** permission by default, plus any permission roles the type carries. | Parameter | Type | Required | Description | | --- | --- | --- | --- | | `user` | User | Required | The member to punish. | | `type` | Text | Required | The punishment type, picked from an autocomplete list of this server's configured types. | **Example:** `/punish user:@Member type:Spam` The type carries everything: its ladder decides which step fires next based on the member's punishment level on that track, and its configured reason is baked into the command response, the log, the DM and the infraction history. Staff never type a reason. The command replies with a short one line embed, like `<@Member> was punished with **Mute (20 minutes)** for **Spam** (step 2/4).` ### `/purge-reactions` Remove reactions from messages in a channel. Needs the **Manage Messages** permission by default. | Parameter | Type | Required | Description | | --- | --- | --- | --- | | `count` | Integer | Required | Number of messages to check - Range: at least 1, at most 1000. | | `channel` | Channel | Optional | Channel to remove reactions from (defaults to current). | | `emoji` | Text | Optional | Specific emoji to remove (leave empty for all). | | `user` | User | Optional | Only remove reactions from this user. | ### `/purge` Delete messages from a channel. Needs the **Manage Channels** permission by default. | Parameter | Type | Required | Description | | --- | --- | --- | --- | | `count` | Integer | Required | Number of messages to delete - Range: at least 1, at most 1000. | | `channel` | Channel | Optional | Channel to purge messages from (defaults to current). | | `user` | User | Optional | Only delete messages from this user. | ### `/report` Report a user to the moderation team. Picking the user opens a form where the reason is typed, and the report shows up in the dashboard Reports tab (and posts to the Reports Channel when one is configured). The command only appears in the server's command list while its slash toggle is on; reports close when every report entry point is turned off. Messages are reported through the context **Report Message** command. | Parameter | Type | Required | Description | | --- | --- | --- | --- | | `user` | User | Required | The user you want to report. | ### `/unban` Unban a user by ID. Needs the **Ban Members** permission by default. | Parameter | Type | Required | Description | | --- | --- | --- | --- | | `user_id` | Text | Required | The ID of the user to unban. | | `reason` | Text | Optional | Reason for the unban. | ### `/unblacklist` Remove a user blacklist from tickets or applications. Needs the **Manage Roles** permission by default. | Parameter | Type | Required | Description | | --- | --- | --- | --- | | `module` | Text | Required | Which module to remove the blacklist from - Choices: Applications, Tickets. | | `user` | User | Required | User to unblacklist. | | `reason` | Text | Optional | Reason for unblacklist. | ### `/unmute` Remove timeout from a user. Needs the **Moderate Members** permission by default. | Parameter | Type | Required | Description | | --- | --- | --- | --- | | `user` | User | Required | User to unmute. | | `reason` | Text | Optional | Reason for unmute. | ### `/warn` Issue a warning and record it in moderation history. Needs the **Moderate Members** permission by default. | Parameter | Type | Required | Description | | --- | --- | --- | --- | | `user` | User | Required | User to warn. | | `reason` | Text | Required | Reason for warning. | **Example:** `/warn user:@Member reason:Spamming in support` ### Text (prefix) commands These run with the server's text command prefix (default `!`). Change it from the dashboard Settings page. - **ban**: Ban a user. Syntax: ban
[duration] [reason] [--delete] (duration e.g. 3d 5h, units s, m, h, d, w and y) - **kick**: Kick a user. Syntax: kick
[reason] - **mute**: Mute (timeout) a user. Syntax: mute
[reason] [--delete]. The duration can sit anywhere after the user, like mute @user spamming 30s. Timeouts stop at 28 days and accept s, m, h, d, w and y units. - **unban**: Unban a user by ID. Syntax: unban
[reason] - **unmute**: Remove timeout from a user. Syntax: unmute
[reason] - **warn**: Warn a user and record it in history. Syntax: warn
- **purge**: Delete a specified number of messages. Syntax: purge
[#channel] [@user] - **purge-reactions**: Remove reactions from recent messages. Syntax: purge-reactions
[#channel] [emoji] [@user] ### Notes - The punishment ladder is configured per server in the dashboard Moderation module. - Reports are resolved with an outcome: denied, accepted without punishment, or accepted with a warn, mute, kick or ban applied through the bot; report resolutions count toward staff quotas. - A text command a member lacks the permissions for is ignored completely: the message gets no reply and reads like any other chat message. ## How it works - Each user has a heat count per offense type. A new punishment advances one step up that type's ladder, and heat decays over that type's decay window. - The punish cooldown prevents spamming punishments on the same user, with a per-type override on each ladder type. - Before punishing, the bot checks the staff hierarchy rules, role hierarchy, the server owner and the bot itself, and rejects illegal targets. - Reports post an embed with a Resolve button when a Reports Channel is configured. Resolving opens a picker with Decline, Accept (no punishment) and Accept. Decline and Accept (no punishment) open a short form with an optional resolution reason; Accept opens the punishment screen with Warn, Mute, Kick and Ban buttons and Cancel below them, each punishment opening a short form with its own reason slots: one optional reason the reporter sees and one optional reason the punished user sees (the mute form also carries its duration). Every page of the flow edits the same response, and punishments run through the same warn, mute, kick and ban formats as the commands. The resolution reason reaches the reporter's DM, the punishment lands in the punishment history, the embed gains a Resolution field and a Resolution Reason line with the resolver's picture in the footer, and the report record keeps every detail for the dashboard. - Moderation action limits watch how many recorded actions each moderator runs inside the rolling window; crossing the cap puts that moderator on a cooldown, and every gated command refuses politely until it ends. The cooldown reply carries a Discord relative timestamp, so the wait counts down live in every client locale. - Muting a member who is already muted asks the moderator to confirm the replacement first: the prompt shows when the previous mute started, how long it ran and its reason, and confirming replaces it cleanly without a second expiry message. - Every action is recorded and visible in `/history` and the dashboard History view. ## Notes - Resolved reports count toward staff quotas when the Staff module quota type is Reports Handled. - `/blacklist` configures the Tickets and Applications blacklist roles and can be toggled in the Staff module settings. - A ladder Ban step can carry a duration, so ladder bans can be temporary even though the ban commands themselves are permanent; the bot schedules the unban and it survives restarts. ### Context commands - **Ban User, Mute User, Unmute User, Kick User, Warn User**: the right-click equivalents of the slash commands (Discord calls these context commands), gated by their command cards. Unmute User opens a small reason form and removes the timeout, records the case and logs it like /unmute. - **Punish User**: right-click a member and pick an offense type. The bot resolves the next ladder step for that type and applies it. - **Punish Message**: right-click any message and pick an offense type, then enter a reason. The bot resolves the next ladder step for that type and applies it, stores the message on the history entry as evidence and posts an evidence embed into the punishment's discussion thread when one exists. - **Report User, Report Message**: open the report form on a member or a message, gated by their own context toggles beside the /report slash toggle. - **History User**: opens the same history pages as /history. ### Log discussion threads and evidence - With **Open a Thread on Moderation Logs** on, every punishment log message (including native Discord timeouts, bans, unbans and kicks) carries a discussion thread in the log channel: opened by staff through the thread button with the Thread Button mode (the default), or opened automatically with the Automatic mode. - Purges post one **Message Purge** log to the Message Purges channel of the Logging tab, whether the purge ran through the bot or through Discord itself: the log names who purged (the moderator for bot purges), the channel, the message count and a transcript file with one line per deleted message, and it follows the Purge toggle of the discussion threads. - A **Punish Message** punishment attaches the message as evidence on the history entry and posts it into the thread with a jump link, the author and a content excerpt. - The dashboard History view shows an **evidence link** with an excerpt on entries punished through a message, and an **Open the discussion thread** link whenever the entry has a thread.