Raid protection and the captcha gate

Spot join floods, lock the server for a few minutes when one hits, and make new members prove they are human before they can chat.

Updated 4 minute readAll guides

Before you start

Who it is for
Public servers, servers listed on discovery sites, and anyone who has been raided before.
What you need
Manage Server to set both up, and Manage Roles to run or end a lockdown yourself. For lockdowns Pulse needs Manage Roles, which lets it change who can post in a channel. Discord only lets Pulse turn off permissions it has in the server, so its role also needs the ones a lockdown turns off: Send Messages, Send Messages in Threads, Add Reactions and Create Public Threads. A permission a channel already turns off for @everyone isn’t needed there. If one is missing, Pulse names it. For the captcha gate it needs Manage Roles with its role above the verified role, and Kick Members if you remove members who never verify.

Steps #

  1. Set what counts as a raid

    In the dashboard, open Raid protection and switch it on. Under Join-flood detection, set Joins that count as a raid and Within to more than your busiest normal minute. The default is 10 joins within 10 seconds.

    Join-flood detection: 10 joins within 10 seconds, Lock down chosen as the response, a lockdown length of 15 minutes and mod-log as the alert channel.
  2. Choose the response

    Pick Alert only, Lock down, Kick raiders or Time out. If you are unsure, start with Alert only, which is what /setup turns on, and move to Lock down once you trust the numbers. A lockdown stops @everyone sending messages, reacting and starting threads in every open channel, and puts back exactly the permissions you had when it lifts after the Lockdown length.

    Set an Alert channel only staff can see. Raid alerts there have a button to end the raid: End lockdown, for anyone with Manage Roles, or End raid mode after an alert, kicks or timeouts, for anyone with Manage Server. Staff are never kicked, timed out or banned automatically.

  3. Know the emergency switch

    Under Raid status, Lock down now locks the server by hand. In Discord, /lockdown start and /lockdown end do the same, and by default anyone with Manage Roles can use them. /lockdown end only ends a lockdown: end raid mode after kicks or timeouts from the raid alert or the dashboard. /raid status shows the current state.

    The Raid status card saying All clear, with a Lock down now button.
  4. Make your channels need a role

    For the captcha gate, first create a Verified role in Discord, below Pulse’s role. Hide your channels from @everyone and let the Verified role see them. Leave one channel, such as #rules, open to everyone: that is where the Verify panel goes.

  5. Set up the gate

    Open Captcha gate and switch it on. Pick the Verify channel and the Verified role. Under Challenge, choose One-click button or Captcha: members get a private 5 character code and pick the matching button out of five. Remove unverified members after only applies to people who join once the gate is on and the panel is posted; 0 turns it off.

    The gate settings: the rules channel, the Verified role, Captcha chosen, 3 attempts allowed, no minimum account age, and unverified members removed after 1 hour.
  6. Save, then post the panel

    Press Save changes, then under Post the panel pick the channel and press Post panel, or type /verify panel in that channel.

    The Post the panel section with the rules channel picked and the Post panel button.

What members see #

During a lockdown, members can read but can’t send messages, react or start threads until it lifts.

New members only see the verify channel. They press Verify and, with Captcha, get a picture of a code that only they can see and five buttons to choose from, with 3 tries by default. Once they pass, they get the Verified role and the rest of the server. Anyone removed for not verifying gets a message saying they can rejoin.

If something goes wrong #

Members pass the captcha but still see nothing.
Your channels must let the Verified role see them, and Pulse’s role must be above the Verified role.
Some channels were not locked.
Pulse needs View Channel and Manage Roles in those channels too. In the server, its role also needs the permissions a lockdown turns off: Send Messages, Send Messages in Threads, Add Reactions and Create Public Threads, except those a channel already turns off for @everyone. Pulse’s reply, or the raid alert, names the ones it’s missing.
The Verify panel shows old text.
Changes apply the next time you post the panel. Save, post it again and delete the old one.

Where next #