|Docs

/quarantine

Overview

/quarantine isolates a member by removing their roles and applying a quarantine role, then lets you restore them later.

Required Permissions

  • Moderate Members

Subcommands

add

OptionRequiredDescription
userYesMember to quarantine
strip_rolesNoRemove the member's other roles first (default: on)
quarantine_roleNoRole to use for quarantine, if you want to set or change it

remove

OptionRequiredDescription
userYesMember to release from quarantine
reapply_rolesNoRestore the roles they had before being quarantined

Behavior

  • BetterAntiSpam creates the quarantine role automatically if one isn't set.
  • If strip_roles is on, the member's other roles are saved before removal so they can be restored later.
  • If the quarantine role or the member's saved roles carry risky permissions, BetterAntiSpam shows a warning and asks for confirmation before proceeding.
  • remove without reapply_roles only removes the quarantine role. With reapply_roles, BetterAntiSpam restores the member's previously saved roles and asks for confirmation first if any of them look risky.
  • A case is created for each quarantine action and logged to the quarantine log category if configured.
  • The quarantine role is shared with /antispam settings, /antinuke settings, and /antiraid settings when quarantine is selected as their punishment.