Guard And Security

Docs/Community & Discord/Guard and advanced security

Community & Discord

Guard and advanced security

Discord Guard is the configurable safety layer for Community & Discord.

Guard is workspace-controlled. Communities choose which protections are enabled, the thresholds, and the action to take.

Anti-spam

Guard can detect:

  • message-rate spam
  • repeated duplicate messages

Actions can include:

  • alert only
  • delete the violating message
  • delete and timeout

Link protection

Link protection supports:

  • blocklist mode
  • allowlist mode
  • customer-supplied domains
  • alert, delete, or timeout actions

Word and phrase protection

Communities can save blocked words or phrases and choose the action when a match is detected.

Account protection

Account-age rules can alert or quarantine members whose Discord account is younger than the configured minimum.

Advanced protection

Guard also supports:

  • phishing-domain protection
  • phishing phrase detection when a link is present
  • protected-name impersonation detection
  • allowed Discord user IDs for protected names
  • configurable impersonation similarity
  • suspicious-join rules for very new accounts and optional default-avatar checks

Quarantine

A workspace can select the Discord role used to quarantine suspicious joins. Onboarding and automations do not continue normally for a member when the Guard join evaluation quarantines the member or when the Guard evaluation itself fails.

Raid protection

Join-spike thresholds can automatically activate raid mode for a configured duration. The configured raid action can alert staff or quarantine new joins.

Lockdown

/lockdown temporarily blocks @everyone from sending messages in applicable server text channels and records the previous permission state.

/unlock restores the permission state captured by the latest CollabOS lockdown.

Guard alert messages

A workspace can select a GUARD_ALERT Message Builder template and alert channel instead of relying on hard-coded community copy.

Discord commands

/guard status

Shows current Guard settings.

/guard anti-spam

Configures message-rate and duplicate-spam protection.

/guard links

Configures link/domain rules.

/guard words

Configures blocked words or phrases.

/guard phishing

Configures phishing domains, phrases, and response action.

/guard impersonation

Configures protected names and impersonation handling.

/guard suspicious-joins

Configures suspicious new-account signals.

/guard accounts

Configures minimum Discord account age.

/guard raid

Configures automatic join-spike raid detection.

/guard quarantine

Configures the quarantine role.

/guard alerts

Configures the Guard alert channel and saved message template.

/raid-mode on

Enables manual raid mode.

/raid-mode off

Disables manual and automatic raid mode.

/raid-mode status

Shows the current raid/Guard status.

/lockdown

Starts a reversible channel lockdown.

/unlock

Restores the saved channel permission state.