Secure your server
Moderation, auto-moderation, anti-raid, anti-nuke and verification, set up step by step to protect your community.
On this page
Moderation Auto-moderation Anti-raid Anti-nuke Verification Secured roles Security counters Going furtherRobert's security rests on five complementary modules, all available on the free plan. This guide shows you how to set them up in the right order.
| Module | Protects against | On by default |
|---|---|---|
| Moderation | Behaviour you sanction by hand | Yes |
| Auto-moderation | Spam, dodgy links, phishing, banned words | Yes |
| Anti-raid | Waves of fake accounts joining | Yes |
| Anti-nuke | A rogue administrator or a hijacked account | Yes |
| Verification & captcha | Bots and throwaway accounts | No (Premium) |
First things first: Robert's role
To sanction a member or remove their roles, Robert must sit above them in the hierarchy. Check this before testing: see Permissions and Robert's role.
Moderation
The Moderation module handles manual sanctions and keeps a record for each member.
The essential commands: /warn, /timeout, /kick, /ban (with a duration for a temporary ban), /unban, /clear (bulk-delete messages, with filters), /lock and /lockdown (lock one channel or the whole server), /slowmode, /record and /note.
The settings to make (dashboard → Modules → Moderation):
- Moderation log channel: every sanction is logged there.
- Command access: moderation commands require the matching Discord permissions. To open them to a role without those permissions, add an “Allow” rule in the Command access module. The “Moderator roles” setting opens no command.
- Protected roles: members with these roles cannot be sanctioned by Robert.
- Notify the member by DM: the message can be customised and uses variables such as
{server},{action}and{reason}. - Default timeout duration (1 hour by default, 28 days at most, which is Discord's limit).
Automatic sanctions: under “Warnings”, add thresholds such as “3 warnings → 1-hour timeout” or “5 warnings → ban”. A ban lasts for the duration shown; without one, it is permanent. Warnings expire after 90 days by default (0 = never). The number of thresholds depends on your plan.
The record on the web: the dashboard's Cases page gathers every sanction, whether it came from a command, from auto-moderation or from the dashboard. There you can search, filter, correct a reason, lift a sanction (the member is then unbanned or their timeout removed) and add a warning or an internal note.
Auto-moderation
Auto-moderation acts within milliseconds thanks to twelve filters. The most useful ones are already on:
| Filter | Default | Suggested setting |
|---|---|---|
| Anti-spam | On: 5 messages in 5 seconds → timeout | Keep as is to begin with |
| Repeated identical messages | On: 3 repeats tolerated | — |
| Phishing and scam links | On → ban | Essential |
| Discord invites | On, your own server's invites stay allowed | — |
| Banned words | On, empty list | Add your words, as “Exact word” to avoid false positives |
| Mass mentions | On: 5 mentions at most | — |
| Zalgo text and invisible characters | On | — |
| Dangerous files | On: exe, bat, scr, apk… blocked |
— |
| Filter links | Off | Allowlist (youtube.com, twitch.tv…) if your server is often spammed |
| Excessive caps, excessive emojis | Off | Depends on your community |
For each filter you choose the action: delete the message, warn, time out, kick or ban. A few tips:
- Exceptions: add your team roles under “Ignored roles” and, if needed, a link-sharing channel under “Ignored channels”.
- Word matching: “Exact word” stops a very short banned word from blocking every word that contains it; “Contains” is stricter but produces more false positives. The wildcard (
*) and regular expressions are there for advanced cases. - Native AutoMod: the “Deploy to Discord's native AutoMod” option copies the word, spam and mention rules into Discord's own AutoMod, which keeps working even if Robert is offline.
- Testing:
/automod testtells you which filter would trigger for a given message.
Anti-raid
A raid is a wave of accounts joining your server at once in order to spam it. Anti-raid watches the join rate and reacts on its own.
- Detection: by default, more than 8 joins within 60 seconds trigger the response. On a large server that welcomes a lot of people, raise the threshold.
- Minimum account age: accounts created less than 3 days ago are quarantined (or kicked, banned or ignored, as you choose).
- Response: by default, Robert locks the channels for 10 minutes, then unlocks them automatically. You can also choose to quarantine, kick or ban the newcomers.
- Quarantine role: a role that can see next to nothing.
/setupcreates it if it does not exist. - Alert channel and roles to mention: to notify your team with a report.
In an emergency, /raidmode state:on duration:15m turns raid mode on by hand (the duration is optional), and /quarantine isolates a specific member.
Anti-nuke
A “nuke” is when someone with elevated rights (a rogue moderator, a hijacked account, a compromised bot) deletes channels and roles or bans everybody within seconds.
- Thresholds per member and per minute: channel deletions (3), role deletions (3), bans (5), kicks (5), webhook creations (3), emoji deletions (5).
- Sanction for the culprit: by default, Robert removes all their roles; you can also kick or ban them.
- Watching for dangerous permissions and blocking unapproved bots: on by default.
- Restore from the latest backup (Premium and above): Robert automatically puts back what was deleted. On the free plan, anti-nuke detects and sanctions, and you restore from a backup yourself.
- Allowlist: add your trusted administrators (roles or member IDs), with
/antinuke trustor from the dashboard.
Protect your own account too
Turn on two-factor authentication on your Discord account and require it for moderation (Server Settings → Safety Setup). Anti-nuke is no substitute for a well-protected account. Protect your Robert dashboard too with two-factor authentication.
Verification
Verification blocks bots before they can write. The principle: newcomers only see a verification channel, then receive a role that unlocks the rest of the server.
- Create a “Verified” role and set your channels so that only verified members can see them.
- In the Verification module, choose the method:
- Simple button: one click is enough, ideal for small servers;
- Captcha on the web (default): the member completes a captcha on Robert's verification page;
- Image captcha in Discord: without leaving Discord;
- Questionnaire: questions with the expected answer (not case-sensitive).
- Choose the verification channel, the role given after verification and, if you wish, a role for unverified members.
- Customise the panel message, then post it with
/verification panel. - Optional: kick unverified members after a delay (24 hours by default).
On Premium and above, the web captcha can also block VPNs and proxies.
Secured roles
With the Secured roles module (Premium plan and above), sensitive roles — Administrator, Moderator, any role with dangerous permissions spotted automatically — can only be granted for a set time (1 h, 8 h, 24 h or until a date), with /access give or from the Secured roles page of the dashboard, and Robert removes them when time is up.
- Four-eyes rule (on by default for roles with dangerous permissions): a second staff member approves in the security channel. A staff member can also request access for themselves with
/access request. - Extension, instant revocation (
/access revoke, the emergency brake) and a detailed log (/access log). - Roles granted outside Robert (by hand or by another bot): Robert removes them and alerts, except for the owner and the allowlist.
A hacked staff account never keeps full powers: it's the natural complement to anti-nuke. The details: Secured roles in practice.
Security counters
(Detailed guide: Security counters.)
Robert counts every protective action he takes: raids blocked, nuke attempts stopped, suspicious accounts blocked (anti-raid, honeypot, verification), scam and phishing messages removed, restores performed and sensitive roles removed. Only the kind of action and the number are kept, no personal data.
- On your server: the “Robert has protected you from…” card on the dashboard overview, and the
/security reportcommand in Discord (since Robert joined and this month). - For everyone: the totals across all servers are shown live on the home page and the Status page, updated every minute, since launch.
Going further
- Reports: the Reports module adds
/reportand a right-click “report message” action that send everything to your team. - Appeals (Premium): with Sanction appeals, a banned member can contest their sanction through a web form, reviewed by your team on the Appeals page.
- Logs: a well-configured logs channel helps you understand what happened. See Analytics and logs.
- Backups: your best safety net. See Backups and restore.
Spotted a mistake? Got a question? Let us know on the support server.