🎉 Launch offer: the next 5 servers get 30 days free. Claim a spot →
All topics & search

Guide/Protect your server/Quarantine

Discord Lockdown, Panic Mode & Quarantine

Strip roles, isolate the member, restore later; bypass protection and the role position it needs.

Quick answer

Set up and use

!security quarantine @Quarantined
!quarantine @user spamming invites
!unquarantine @user restore_roles:true

Ask the guide

Step by step

Quarantine strips a member's roles, gives them the quarantine role and, when a quarantine channel is set, lets them talk only there. The bot writes a deny overwrite for the quarantine role into every channel and category and does the same for channels created later, so the role isolates even if your permission setup is imperfect.

!security quarantine @Quarantined         create a role with no permissions first (Flash does this for you)
!quarantine @user spamming invites
!unquarantine @user                       restores the roles they had (restore_roles:false to skip)
  • Used automatically by anti-raid, join gate, heat thresholds, anti-nuke and moderator limits when configured to.
  • Protect bypass (dashboard) re-applies the role if someone removes it without !unquarantine; removing it by hand through Discord is treated as a pardon.
  • The bot's role must sit above the quarantine role and above the roles it removes.

Copy and try

Set up and use

!security quarantine @Quarantined
!quarantine @user spamming invites
!unquarantine @user restore_roles:true

Good to know

  • Create the role with no permissions; the bot writes the deny overwrites itself.
  • Removing the role by hand counts as a pardon.

Still stuck? Ask in the support server.

Discord Lockdown, Panic Mode & Quarantine · Sweet