Auto Moderation
Squint's auto-moderation system helps maintain a safe and clean server environment by automatically detecting and acting upon unwanted content. It can filter various types of messages and includes advanced features like bypass detection and hard slur filtering.
Setup
Enable a specific filter:
;setautomod toggle slurs true(Optional) Add custom blacklisted words:
;setautomod blacklist add badword(Optional) Add custom regex rules:
;setautomod custom add nospam "(.)\1{5,}"View current status:
;setautomod status
Example Use Case: A server wants to prevent users from posting external links without permission.
Run
;setautomod toggle links trueRun
;setautomod toggle invites trueThe system will now automatically delete messages containing external links or Discord invites.
Configuration
slurs: Toggles the detection and filtering of common slurs.swears: Toggles the detection and filtering of common swear words.invites: Toggles the detection and filtering of Discord invite links.links: Toggles the detection and filtering of external website links.religion: Toggles the detection and filtering of religious content.bypass: Toggles the detection of invisible characters used to bypass filters. When enabled, creates a Discord AutoMod rule.hardslurs: Toggles the detection of more aggressive slur patterns. When enabled, creates a Discord AutoMod rule.blacklist: A list of custom words that will be filtered if present in messages.customRules: A list of custom regular expression rules for advanced filtering.
Common Issues:
AutoMod rules are not created → Ensure the bot has
Manage Serverpermission. Discord limits the number of AutoMod rules per server.Messages are not deleted → Check if the user triggering the filter has an Administrator role, which bypasses most AutoMod rules.
Bypass detection is not working → Ensure the
bypassfilter is toggled on and the bot has successfully created the corresponding Discord AutoMod rule.
Usage
Once enabled, AutoMod will automatically scan messages for configured content. When a violation is detected, Squint will take action (e.g., delete the message, warn the user) based on the server's moderation settings.
Related Commands
;setautomod- Main command for managing auto-moderation settings.;warn- Manually warn a user.;timeout- Manually mute a user for a specified duration.
Last updated
Was this helpful?