Rules overview
AutoMod currently includes three rules:| Rule | What it does |
|---|---|
| Role Enforcement | Kicks members who don’t receive a required role within a set number of days |
| Link Blocking | Deletes messages containing links (and optionally attachments/stickers) in selected channels |
| New Member Spam Protection | Kicks members who post links, images, attachments, or stickers within seconds of joining |
All AutoMod rules require the bot to be connected to your server.
Role Enforcement
Automatically kicks members who haven’t been assigned a specific role within a grace period. Useful for servers that require a verification role.Open AutoMod
Go to the BrewBot Dashboard, select your server, and navigate to Moderation → AutoMod.
Select the required role
Choose the role members must have. Anyone without this role past the grace period will be kicked.
Set the grace period
Enter the number of days new members have to receive the role (1–30 days, default 5).
Optional: Set a custom kick reason
Enter a custom message that appears in the Discord audit log. Leave empty for the default reason.
Link Blocking
Deletes messages containing links in channels you select. You can also block attachments and stickers, allow same-server Discord links, grant bypass roles, and customize the warning message.Select channels
Use the Block Links In picker to add the channels where links should be blocked. Only the channels you add are enforced — all other channels are unaffected.
Additional settings
| Setting | Default | Description |
|---|---|---|
| Allow same-server links | On | Discord links pointing to messages or channels within your own server are not blocked |
| Block attachments | Off | Also delete messages with images, files, and other attachments |
| Block stickers | Off | Also delete messages that contain stickers |
| Warning message | @user, that content is not allowed in this channel. | Customize the message the bot sends after deleting content. Use {user} to mention the member. The warning auto-deletes after 5 seconds. |
| Log channel | None | Channel where the bot posts a log embed for each deleted message |
New Member Spam Protection
Kicks members who post links, images, attachments, or stickers within a configurable time window after joining. This catches spam bots that join and immediately drop content.Set the time window
Enter the number of seconds after joining during which posting media triggers a kick (10–600 seconds, default 60). For example,
60 means any link or attachment posted within the first minute triggers a kick.Optional: Set a custom kick reason
Enter a custom message for the Discord audit log. Leave empty for the default.
Permissions required
AutoMod needs the following Discord permissions to function:| Permission | Used by |
|---|---|
| Kick Members | Role Enforcement, New Member Spam Protection |
| Manage Messages | Link Blocking (deleting messages) |
| Send Messages | Link Blocking (sending warning messages) |
FAQ
Are server admins exempt from AutoMod?
Are server admins exempt from AutoMod?
No. Server admins are not automatically exempt. For link blocking, add your admin role as a bypass role. For role enforcement, make sure admins already have the required role. New member spam protection won’t affect existing members — only those who joined within the configured time window.
How often does role enforcement check?
How often does role enforcement check?
Every 30 minutes. A member who passes the grace period will be kicked within the next polling cycle.
What counts as a 'link' for link blocking?
What counts as a 'link' for link blocking?
URLs with
http:// or https://, and bare domains with common TLDs (.com, .org, .net, .gg, etc.). If Allow same-server links is on, Discord links pointing to your own server are excluded.Can I use AutoMod without premium?
Can I use AutoMod without premium?
