Securly docs

How to set Securly up, what each part does, and every command.

Setup

  1. Add Securly with the Administrator permission.
  2. 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.
  3. Run /setup. It makes a private Securly category with log channels and a Quarantined role. Add verification:True to also make the captcha gate.
  4. Run /status to see your security score and what's left to do.
  5. Optionally, mark co-owners as trusted with /trusted add.
Every protection is on from the moment Securly joins, with sensible limits. /setup just gives it somewhere to report.

Who Securly trusts

WhoWhat it means
Server ownerNever limited. The only one who can change trusted admins.
Trusted adminsTreated like the owner: never limited, and can change anti-nuke, anti-raid, backups and the whitelist. Set with /trusted.
WhitelistedA 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 elseIncluding 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)

ActionAllowed
Channel deletions2 per 10 s
Channel creations4 per 10 s
Channel edits6 per 10 s
Role deletions2 per 10 s
Role creations4 per 10 s
Role edits6 per 10 s
Bans / kicks3 per 10 s
Member prunesnone
Webhook creations2 per 10 s
Webhook deletions3 per 10 s
Emoji deletions3 per 10 s
Roles given to members8 per 10 s
@everyone / @here pings3 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

LogWhat goes in it
SecurityEverything Securly stops or does. Serious events also DM the owner.
ModerationBans, unbans, kicks, prunes, timeouts, with who did them.
MessagesDeleted and edited messages.
MembersJoins (with account age), leaves, nickname and role changes.
ServerChannels, roles, webhooks, bots and server settings changing.

All commands

CommandWhat it doesWho
/setupMake the log channels, Quarantined role and optionally the verify gateOwner, trusted
/statusSecurity score and what to fixManage Server
/antinukeview · toggle · punishment · limit · restore · instantOwner, trusted
/antiraidview · toggle · joins · action · lockdown · account-age · no-avatar · suspicious-action · name-pattern · endOwner, trusted
/trustedadd · remove · listOwner
/whitelistadd · remove · listOwner, trusted
/verificationview · toggle · panel · roles · captcha · timeoutManage Server
/automodview · toggle · filter · spam · mentions · allow · ignoreManage Server
/lockdownstart · endManage Server
/quarantineadd · release · listManage Server
/backupcreate · list · view · restore · deleteOwner, trusted
/logsset · viewManage Server
/incidentsRecent actions Securly tookManage Server
/dashboard, /helpLinks and a summaryEveryone