Securly docs
How to set Securly up, what each part does, and every command.
Setup
- Add Securly with the Administrator permission.
- Move Securly's role to the top of the role list (Server Settings → Roles, drag it up). Securly can only stop people whose highest role is below its own.
- Run
/setup. It makes a private Securly category with log channels and a Quarantined role. Addverification:Trueto also make the captcha gate. - Run
/statusto see your security score and what's left to do. - Optionally, mark co-owners as trusted with
/trusted add.
/setup just gives it somewhere to report.Who Securly trusts
| Who | What it means |
|---|---|
| Server owner | Never limited. The only one who can change trusted admins. |
| Trusted admins | Treated like the owner: never limited, and can change anti-nuke, anti-raid, backups and the whitelist. Set with /trusted. |
| Whitelisted | A member, bot or role exempt from some protections only, e.g. a ticket bot whitelisted for anti-nuke so it can create channels. Set with /whitelist. |
| Everyone else | Including members with Administrator. That's deliberate: a hacked admin account is how most nukes happen. |
Other settings (verification, automod, logs, lockdown, quarantine) need Manage Server.
Anti-nuke
Securly reads the audit log as it happens. Each person's actions are counted per kind; going over a limit gets them punished (ban by default), and with restore on, Securly also:
- rebuilds the channels and roles they deleted, with permissions, and gives the roles back to who had them
- deletes the channels, roles and webhooks they created
- lifts the bans they handed out
If a bot trips a limit, whoever added it is punished too.
Default limits (per person)
| Action | Allowed |
|---|---|
| Channel deletions | 2 per 10 s |
| Channel creations | 4 per 10 s |
| Channel edits | 6 per 10 s |
| Role deletions | 2 per 10 s |
| Role creations | 4 per 10 s |
| Role edits | 6 per 10 s |
| Bans / kicks | 3 per 10 s |
| Member prunes | none |
| Webhook creations | 2 per 10 s |
| Webhook deletions | 3 per 10 s |
| Emoji deletions | 3 per 10 s |
| Roles given to members | 8 per 10 s |
| @everyone / @here pings | 3 per 60 s |
Instant checks
- Bots added by someone untrusted are kicked.
- Dangerous permissions (Administrator, Manage Server, Manage Roles, Manage Channels, Manage Webhooks, Ban, Kick, Mention Everyone) given to a role or @everyone are reverted, and so is a role with them handed to a member.
- Server name and icon changes are reverted; vanity link changes are reported.
- Webhooks that mass-ping are deleted.
Anti-raid
More joins than the limit (8 in 10 s by default) turns on raid mode: the accounts in the spike, and everyone joining after, are kicked (or banned or quarantined), and the server is locked down. Raid mode ends after 10 quiet minutes and the automatic lockdown lifts with it. /antiraid end stops it early.
Every joiner is also checked against your filters: minimum account age, no avatar, and name patterns.
Verification
New members get the Unverified role, which can only see #verify. Pressing Verify shows an image captcha only they can see. The right code takes the role off. Three wrong tries, or 15 minutes without verifying, and they're kicked (both adjustable). Members who verified once skip it if they rejoin.
Automod
Filters: spam, repeated messages, mass mentions, @everyone attempts, scam links (a live list of known scam domains), invites to other servers, links, capitals, walls of text and zalgo. A match deletes the message and gives a strike. Strikes in 24 hours escalate: warn → 10 min timeout → 1 hour timeout → kick. Scam links go straight to a 24-hour timeout. Staff with Manage Messages are skipped.
Lockdown & quarantine
/lockdown start stops everyone without special permissions from talking, reacting, making threads or joining voice, and pauses invites. /lockdown end puts every channel back exactly as it was. A lockdown can end itself after a set number of minutes.
/quarantine add takes someone's roles and gives them the Quarantined role, which can't see any channel. /quarantine release hands their roles back.
Backups
One automatic backup a day, plus any you make with /backup create. A backup holds every role (and who has it), every channel and its permissions. /backup view shows what a restore would do; /backup restore recreates missing roles and channels, puts permissions back, and gives members their roles back. A restore never deletes anything.
Logs
| Log | What goes in it |
|---|---|
| Security | Everything Securly stops or does. Serious events also DM the owner. |
| Moderation | Bans, unbans, kicks, prunes, timeouts, with who did them. |
| Messages | Deleted and edited messages. |
| Members | Joins (with account age), leaves, nickname and role changes. |
| Server | Channels, roles, webhooks, bots and server settings changing. |
All commands
| Command | What it does | Who |
|---|---|---|
/setup | Make the log channels, Quarantined role and optionally the verify gate | Owner, trusted |
/status | Security score and what to fix | Manage Server |
/antinuke | view · toggle · punishment · limit · restore · instant | Owner, trusted |
/antiraid | view · toggle · joins · action · lockdown · account-age · no-avatar · suspicious-action · name-pattern · end | Owner, trusted |
/trusted | add · remove · list | Owner |
/whitelist | add · remove · list | Owner, trusted |
/verification | view · toggle · panel · roles · captcha · timeout | Manage Server |
/automod | view · toggle · filter · spam · mentions · allow · ignore | Manage Server |
/lockdown | start · end | Manage Server |
/quarantine | add · release · list | Manage Server |
/backup | create · list · view · restore · delete | Owner, trusted |
/logs | set · view | Manage Server |
/incidents | Recent actions Securly took | Manage Server |
/dashboard, /help | Links and a summary | Everyone |