Abyssal
Home
Tools
Docs
Support
Dashboard
# AutoModeration AutoModeration is Abyssal Bot's server-side moderation layer. It combines Discord's native AutoMod rules with bot-side spam filters, a link and invite filter, a profanity filter, word triggers, anti-scam detection, honeypot channels and a nuke detection heat system for rogue moderators. ## Enabling AutoModeration is not a normal module toggle. It is configured on the Events page in the dashboard under the AutoModeration category, which has two tabs: **Discord AutoMod** (native Discord rules) and **Abyssal AutoMod** (everything bot-side). Use the Save Changes button to persist your edits; the bot-side filters only run while the module is enabled. ## Dashboard configuration The **Discord AutoMod** tab manages Discord's built-in rules. Rules use triggers for keywords, harmful link scanning, spam, keyword presets (profanity, sexual content, slurs), mention spam limits or regex patterns, with block message, alert channel and timeout actions. The **Abyssal AutoMod** tab contains: - **Spam Detection** with four spam types, each with its own thresholds, effects and bypasses: - **Message Spam Detection**: a **Message Count Threshold** within a **Timeframe (seconds)**. - **Mention Spam Detection**: a **Mention Count Threshold** counting users, roles and @everyone within the timeframe. - **Multi-Channel Spam Detection**: messages in a **Channel Count Threshold** number of distinct channels within the timeframe. - **Character Spam Detection**: a **Message Count Threshold** of messages over a **Character Limit** within the timeframe. - Each type supports **Delete Spam Messages** with a **Delete Mode** of **Delete All Messages** or **Delete Overflow Only** (only the messages above the threshold), an optional **Timeout on Spam** with a duration, and **Bypass Roles** / **Bypass Users**. - **Invite Filter**: tracks Discord invite links separately from the link filter, with an **Invite Count Threshold** (1 blocks every invite immediately), timeframe, **Delete Mode**, timeout and bypasses. - **Link Filter**: blocks messages containing links not on the **Allowed Domains** list (empty blocks all links, subdomains of allowed domains are allowed), with optional deletion and bypasses. - **Profanity Filter**: a **Filtered Words** list, message deletion, and repeat offender escalation: an **Escalation Threshold** within an **Escalation Timeframe** triggers the configured timeout. - **Word Triggers**: regex trigger patterns that can delete the message and send a reply using `{user}`, `{userName}`, `{server}` and `{channel}`. Threshold plus timeframe escalates repeat matches into a timeout. - **Anti-Scam**: detects crypto and gift card scams with toggleable categories: **Scam Phrases** (free nitro drops, crypto doubling, fake airdrops), **Suspicious Links** (brand impersonation and typosquat domains), **Link Shorteners** and **Masked Links**. Add your own via **Custom Scam Phrases**. Detections can delete the message and time out the sender. - **Honeypots**: channels that catch hacked or bot accounts. Anyone who sends a message in one is punished with a ban, kick, timeout or role, optionally deleting the message first. - **Nuke Detection** and a **Moderator Heat Levels** card, described below. ## Nuke detection Nuke detection watches audit logs for destructive actions and raises the acting moderator's heat, which cools down over time. Tracked actions with their default heat values: - **Track Kicks / Bans** (25% heat each by default) - **Track Role Creations**, **Track Role Edits** (15% each) and **Track Role Deletions** (20%) - **Track Channel Creations** (15%) and **Track Channel Deletions** (20%) - **Track Webhook Creations** and **Track Webhook Deletions** (20% each) - **Dangerous Permission Grants**: flags grants of permissions like Administrator, ManageRoles or BanMembers to @everyone or a suspected member role (a non-managed role held by **Member Role Size (%)** of members) When heat crosses the **Heat Threshold (%)** (default 100), the **Punishment** is applied: **Ban**, **Kick** or **Quarantine**. Quarantine assigns a **Quarantine Role** and can strip all other roles with **Remove Roles On Quarantine**. **Undo Changes** attempts to reverse tracked actions: unbanning users they banned and deleting channels, roles and webhooks they created. **Heat Decay Time (minutes)** controls how long a full bar takes to cool. The bot needs the View Audit Log permission to attribute actions to moderators. ## Commands The commands here manage honeypot channels, which are channels that punish members (usually hacked or bot accounts) who send messages in them. ### `/honeypot` Manage honeypot channels that catch bot accounts. Needs the **Administrator** permission by default. #### `/honeypot add` Add a honeypot channel. | Parameter | Type | Required | Description | | --- | --- | --- | --- | | `channel` | Channel | Required | The channel to set as a honeypot. | | `action` | Text | Required | What happens when someone sends a message - Choices: Ban, Kick, Timeout (7 days), Add Role. | | `role` | Role | Optional | Role to add (only for "Add Role" action). | | `timeout_duration` | Text | Optional | Custom timeout duration (e.g. 1h, 30m, 1d). Only for timeout action. | | `delete_message` | True/False | Optional | Whether to delete the message (default: true). | | `log_action` | True/False | Optional | Whether to log the action (default: true). | | `reason` | Text | Optional | Custom reason for the punishment. | #### `/honeypot remove` Remove a honeypot channel. | Parameter | Type | Required | Description | | --- | --- | --- | --- | | `channel` | Channel | Required | The honeypot channel to remove. | #### `/honeypot list` List all honeypot channels. ### Notes - Honeypot setup: create a channel members should never talk in, then point the honeypot at it with `/honeypot add`. - The other automoderation features (spam, scam links, phrases, nuke detection) are configured in the dashboard with no commands needed. ## How it works / Key flows - Messages are checked in order: word triggers, profanity, scam detection, invite filter, link filter, then spam detection. The first match that deletes a message stops further checks. - Spam and invite tracking use rolling per-user windows, so thresholds are measured across the timeframe even across multiple channels. - Administrators and global automoderation bypass roles skip all bot-side filters, including honeypots. - Every filter action is logged to the moderation log channel, and spam violations fire the `message-spam-detect` custom event. ## Notes - Automod timeouts are clamped to Discord's 28 day maximum. - Deleted automod messages are marked as bot deletions so ghost ping detection and counting ignore them, and honeypot punishments also go to the punishments log channel.