> ## Documentation Index
> Fetch the complete documentation index at: https://docs.celiact.online/llms.txt
> Use this file to discover all available pages before exploring further.

# Security

Examples show typical successful replies. Celiact may instead show a confirmation, access denial, or error based on your server settings.

## Automod

Use `/automod toggle enabled:True` to enable message moderation independently of the security monitor. Managing Automod requires the `allow_change_security` permit or server ownership.

| Command | What it does |
| - | - |
| `/automod toggle` | Turn message moderation on or off with `enabled`. |
| `/automod rule` | Choose a `detector` and optionally set `enabled`, `threshold`, `window_seconds`, `response`, `delete_message`, `timeout_minutes`, or an alert `channel`. Supply just the detector to view its settings. |
| `/automod triggerwords` | Replace the list with up to 20 comma-separated words or phrases, each up to 64 characters. Omit `words` to view the list or pass `*` to clear it. Use the `term` detector to configure the response. Trigger words require the Message Content intent. |

Message detectors include `spam`, `repeat`, `mentions`, `mass_mentions`, `invite`, `term`, `link_burst`, `attachment_burst`, `caps_burst`, and `emoji_burst`.

Choose from `alert`, `delete`, `timeout`, `quarantine`, `kick`, and `ban`. If multiple rules match the same message, Celiact applies the strongest response in that order. If any matching rule calls for message deletion, Celiact also attempts to delete the triggering message.

### Quarantine and delete the triggering message

```text theme={null}
/antinuke quarantine_role role:@Quarantine
/automod rule detector:spam enabled:True threshold:6 window_seconds:8 response:quarantine delete_message:True
/automod toggle enabled:True
```

This rule triggers when a member sends six messages within eight seconds. Celiact attempts to delete the triggering message and quarantine the member. It needs **Manage Messages** in that channel and **Manage Roles** to quarantine. The quarantine role must have no server-wide permissions and sit below Celiact's highest role. Use channel overwrites to set its restrictions. Omit `role` from `/antinuke quarantine_role` to clear the configured role.

Set `delete_message:False` to keep the triggering message with responses such as quarantine. The `delete` response always attempts deletion.

### Release a quarantined member

```text theme={null}
/antinuke unquarantine member:@Alex
```

This releases the member from their latest recorded quarantine, including an Automod quarantine. Celiact restores manageable roles and removes the quarantine role it assigned for that incident. Use `/antinuke restore incident_id:0123abcd4567` to release by incident ID instead.

## /antinuke incidents

Show the ten most recent anti-nuke incidents and enforcement outcomes.

**Command ID** `antinuke:incidents`\
**Access** Server owner or a member with `allow_view_security`. Command-specific checks still apply.

This command has no options.

**Example**

```text theme={null}
/antinuke incidents
```

> **Example bot reply** · Recent incident IDs with the actor, punishment outcome, revert result, and time.

## /antinuke preset

Save, load, list, or delete named anti-nuke rule presets.

**Command ID** `antinuke:preset`\
**Access** Server owner or a member with `allow_change_security`. Command-specific checks still apply.

| Option | Type and requirement | What it does |
| - | - | - |
| `action` | Text · Required | Save snapshots the configured rules. Load applies a saved snapshot. List shows existing names. Delete removes the named snapshot. Choices: `save`, `load`, `list`, `delete`. |
| `name` | Text · Optional | Enter the preset name for save, load, or delete. Omit the name when listing presets. Maximum length: 32. |

**Example**

```text theme={null}
/antinuke preset action:save name:raid_response
```

> **Example bot reply** · Saved anti-nuke preset raid\_response.

## /antinuke reset

Reset a rule, or all action rules, to the shared anti-nuke settings.

**Command ID** `antinuke:reset`\
**Access** Server owner or a member with `allow_change_security`. Command-specific checks still apply.

| Option | Type and requirement | What it does |
| - | - | - |
| `action` | Text · Required | Choose one custom action rule, or all or \* to reset all custom rules to shared settings. Choices: `automod_change`, `ban`, `bot_add`, `channel_create`, `channel_delete`, `emoji_create`, `emoji_delete`, `guild_update`, `integration_change`, `invite_create`, `kick`, `overwrite_change`, `permission_grant`, `role_create`, `role_delete`, `role_grant`, `role_update`, `scheduled_event_delete`, `sticker_create`, `sticker_delete`, `thread_delete`, `timeout`, `webhook_change`, `all`, `*`. |

**Example**

```text theme={null}
/antinuke reset action:ban
```

> **Example bot reply** · The ban rule returns to the shared settings.

## /antinuke restore

Restore manageable roles removed by one anti-nuke quarantine incident.

**Command ID** `antinuke:restore`\
**Access** Server owner or a member with `allow_change_security`. Command-specific checks still apply.

| Option | Type and requirement | What it does |
| - | - | - |
| `incident_id` | Text · Required | Copy the incident identifier from /antinuke incidents. |

**Example**

```text theme={null}
/antinuke restore incident_id:0123abcd4567
```

> **Example bot reply** · Restored 2 roles to @Alex.

## /antinuke rule

Set an action threshold, punishment for the actor, and optional target revert.

**Command ID** `antinuke:rule`\
**Access** Server owner or a member with `allow_change_security`. Command-specific checks still apply.

| Option | Type and requirement | What it does |
| - | - | - |
| `action` | Text · Required | Select the audit activity with its own threshold and response. Unconfigured activities can use the shared rule; new opt-in activities show as off. Choices: `automod_change`, `ban`, `bot_add`, `channel_create`, `channel_delete`, `emoji_create`, `emoji_delete`, `guild_update`, `integration_change`, `invite_create`, `kick`, `overwrite_change`, `permission_grant`, `role_create`, `role_delete`, `role_grant`, `role_update`, `scheduled_event_delete`, `sticker_create`, `sticker_delete`, `thread_delete`, `timeout`, `webhook_change`. |
| `threshold` | Integer · Required | Set the number of events required to trigger the configured action or alert. Value: 1–25. |
| `window_seconds` | Integer · Required | Set how many seconds of recent events count toward the threshold. Value: 1–300. |
| `response` | Text · Required | Select the action against the operator. Alert reports the incident, quarantine strips manageable roles, kick removes the operator, and ban bans them. Choices: `alert`, `quarantine`, `kick`, `ban`. |
| `revert` | Boolean · Optional | Ask Celiact to undo the triggering audit event for its target, where the selected action supports reverts. Default: `False`. |
| `enabled` | Boolean · Optional | True activates this custom rule while anti-nuke is on. False disables this action's rule. Default: `True`. |
| `cooldown_seconds` | Integer · Optional | Set the minimum seconds before this rule can respond again for the same monitored subject. Value: 5–86400. Default: `300`. |
| `permissions` | Text · Optional | For permission\_grant, list Discord names separated by commas, such as administrator,manage\_roles. Omit it to use the built-in watched set. Maximum length: 500. |

**Example**

```text theme={null}
/antinuke rule action:ban threshold:3 window_seconds:60 response:quarantine revert:True
```

> **Example bot reply** · Saved the anti-nuke rule for Ban.

## /antinuke settings

Configure anti-nuke detection and its response to destructive audit activity.

**Command ID** `antinuke:settings`\
**Access** Server owner or a member with `allow_change_security`. Command-specific checks still apply.

| Option | Type and requirement | What it does |
| - | - | - |
| `enabled` | Boolean · Required | Set to True to enable, add, or grant the selected setting. Choose False to disable or remove it. |
| `response` | Text · Optional | Choose the response when detection reaches the threshold. Alert records or reports the event. Other responses require Discord permissions. Choices: `alert`, `quarantine`, `kick`, `ban`. Default: `alert`. |
| `threshold` | Integer · Optional | Set the number of events required to trigger the configured action or alert. Value: 1–25. Default: `3`. |
| `window_seconds` | Integer · Optional | Set how many seconds of recent events count toward the threshold. Value: 1–300. Default: `15`. |
| `channel` | Channel · Optional | Set the anti-nuke alert destination. Omit it to fall back to the security alert channel. |
| `trusted_role` | Role · Optional | Choose the role exempt from anti-nuke. Omit it to clear the configured trusted role. |

**Example**

```text theme={null}
/antinuke settings enabled:True response:alert threshold:3 window_seconds:60 channel:#security-log
```

> **Example bot reply** · Anti-nuke enabled with a shared alert threshold of three actions in 60 seconds.

## /antinuke status

Show anti-nuke rules, actor responses, reverts, and trusted members.

**Command ID** `antinuke:status`\
**Access** Server owner or a member with `allow_view_security`. Command-specific checks still apply.

This command has no options.

**Example**

```text theme={null}
/antinuke status
```

> **Example bot reply** · Protection status, shared threshold, per-action rules, and the trust list.

## /antinuke toggle

Turn anti-nuke on or off while keeping its rules and trust list.

**Command ID** `antinuke:toggle`\
**Access** Server owner or a member with `allow_change_security`. Command-specific checks still apply.

| Option | Type and requirement | What it does |
| - | - | - |
| `enabled` | Boolean · Required | Set to True to enable, add, or grant the selected setting. Choose False to disable or remove it. |

**Example**

```text theme={null}
/antinuke toggle enabled:False
```

> **Example bot reply** · Anti-nuke disabled. Saved rules remain available.

## /antinuke trust

Add or remove a user exemption from anti-nuke enforcement.

**Command ID** `antinuke:trust`\
**Access** Server owner or a member with `allow_change_security`. Command-specific checks still apply.

| Option | Type and requirement | What it does |
| - | - | - |
| `user` | Member or user · Required | Select the Discord account affected by the command. For account lookups, omit it to use your own account. |
| `trusted` | Boolean · Required | True adds the member to the exemption list. False removes that explicit exemption. |

**Example**

```text theme={null}
/antinuke trust user:@Alex trusted:True
```

> **Example bot reply** · @Alex is trusted by anti-nuke.

## /config logging

Set, toggle, or check the channel for a log category. This is also available as `/logging channel`.

**Command ID** `config:logging`\
**Access** Server owner or a member with `allow_change_logging`. Command-specific checks still apply.

| Option | Type and requirement | What it does |
| - | - | - |
| `channel` | Channel · Optional | Select a destination. Providing a channel enables logging unless you explicitly set `enabled:False`. |
| `category` | Text · Optional | Choose which event family should use this log destination. Choices: `moderation`, `member`, `message`, `server`, `voice`. Default: `moderation`. |
| `enabled` | Boolean · Optional | True enables the category using its saved channel. False pauses it and keeps the channel. Omit both `enabled` and `channel` to view the current settings. |

**Example**

```text theme={null}
/config logging channel:#mod-log category:moderation
```

> **Example bot reply** · Moderation logging now uses #mod-log.

## /logging channel

Set the destination or toggle logging for one event category. Moderation logs include Celiact case records, handled moderation and configuration commands with their supplied options, and Discord audit entries with the operator, target, reason, and changed fields when available. Administrators, trusted members, and Celiact itself are included. Give Celiact **View Audit Log** to receive native Discord audit entries. A command log records the request Celiact handled; check the corresponding case or audit entry for the action's outcome.

**Command ID** `logging:channel`\
**Access** Server owner or a member with `allow_change_logging`.

| Option | Type and requirement | What it does |
| - | - | - |
| `channel` | Channel · Optional | Select the text channel for new log messages. Celiact needs View Channel and Send Messages there. Setting a channel enables logging by default. |
| `category` | Text · Optional | Choose `moderation`, `member`, `message`, `server`, or `voice`. Defaults to `moderation`. |
| `enabled` | Boolean · Optional | True enables logging using the selected or saved channel. False pauses logging and retains the saved channel. Omit both this option and `channel` to inspect the category. |

```text theme={null}
/logging channel category:moderation channel:#mod-log enabled:True
```

> **Example bot reply** · Moderation logging enabled. Saved destination: #mod-log.

For message history, set `category:message`. Deletion logs can show the author, Discord message type, text, and attachment names, MIME types, and IDs. Edit logs show before-and-after text and which attachments were added or removed. Bulk deletion cards preview up to five cached messages, with cached details retained in the event record. Deleted attachment files are not re-uploaded.

Enable Message Content intent in the Discord Developer Portal and set `CELIACT_MESSAGE_CONTENT_INTENT=true` to make text and attachment details available where Discord supplies them. Deleted messages and pre-edit text depend on Celiact's message cache. A log says **Unavailable** when the details were absent. Use a staff-only destination because logs can retain message content after it was edited or deleted.

## /config logging\_options

Choose how events are labeled and how long logs are kept.

**Command ID** `config:logging_options`\
**Access** Server owner or a member with `allow_change_logging`. Command-specific checks still apply.

| Option | Type and requirement | What it does |
| - | - | - |
| `include_event_ids` | Boolean · Optional | True shows event IDs in log cards. False hides those IDs in the display. Default: `True`. |
| `retention_days` | Integer · Optional | Set how many days stored event logs are retained. Value: 1–365. Default: `90`. |

**Example**

```text theme={null}
/config logging_options include_event_ids:True retention_days:30
```

> **Example bot reply** · Logging options updated.

## /role addmanager

Allow a member to edit and manage the whitelist for one protected role.

**Command ID** `role:addmanager`\
**Access** Server owner or a member with `allow_manage_role_security`. Command-specific checks still apply.

| Option | Type and requirement | What it does |
| - | - | - |
| `user` | Member or user · Required | Select the Discord account affected by the command. For account lookups, omit it to use your own account. |
| `role` | Role · Required | Select a Discord role in the current server. |

**Example**

```text theme={null}
/role addmanager user:@Alex role:@Events
```

> **Example bot reply** · Alex can now manage the protected Events role.

## /role banish

Remove a member's roles and prevent new roles until they are released.

**Command ID** `role:banish`\
**Access** Server owner or a member with `allow_manage_banishments`. Command-specific checks still apply.

| Option | Type and requirement | What it does |
| - | - | - |
| `user` | Member or user · Required | Select the Discord account affected by the command. For account lookups, omit it to use your own account. |
| `reason` | Text · Optional | Write why the action is being taken. Moderation reasons can appear in records or in a member DM, depending on the action's configuration. Maximum length: 400. Default: empty text. |

**Example**

```text theme={null}
/role banish user:@Alex reason:"Staff decision"
```

> **Example bot reply** · The role isolation action is applied and recorded.

## /role banished

List currently banished members with pagination.

**Command ID** `role:banished`\
**Access** Default Celiact level: admin. Named permit: `allow_manage_banishments`.

| Option | Type and requirement | What it does |
| - | - | - |
| `page` | Integer · Optional | Choose a page of results, starting at 1. Minimum value: 1. Default: `1`. |

**Example**

```text theme={null}
/role banished page:1
```

> **Example bot reply** · A page of currently banished members and their recorded reasons.

## /role banishment\_role

Configure the optional role automatically assigned to banished members.

**Command ID** `role:banishment_role`\
**Access** Server owner or a member with `allow_manage_banishments`. Command-specific checks still apply.

| Option | Type and requirement | What it does |
| - | - | - |
| `enabled` | Boolean · Required | Set to True to enable, add, or grant the selected setting. Choose False to disable or remove it. |
| `role` | Role · Optional | Choose the isolation role when enabling the feature. The role must be manageable by Celiact. |

**Example**

```text theme={null}
/role banishment_role enabled:True role:@Isolation
```

> **Example bot reply** · The isolation role is configured.

## /role blacklist

Protect a role and remove it from members who are not whitelisted.

**Command ID** `role:blacklist`\
**Access** Server owner or a member with `allow_manage_role_security`. Command-specific checks still apply.

| Option | Type and requirement | What it does |
| - | - | - |
| `role` | Role · Required | Select a Discord role in the current server. |

**Example**

```text theme={null}
/role blacklist role:@Events
```

> **Example bot reply** · The Events role is protected and unauthorized holders are handled.

## /role connect

Directionally grant a current-server role from a role held in another server.

**Command ID** `role:connect`\
**Access** Server owner or a member with `allow_manage_role_connections`. Command-specific checks still apply.

| Option | Type and requirement | What it does |
| - | - | - |
| `source_role_id` | Text · Required | Paste the numeric Discord role ID from the source server. It must be a different server where Celiact is present. |
| `target_role` | Role · Required | Select the receiving role in the current server. The connection grants in the source-to-target direction. |

**Example**

```text theme={null}
/role connect source_role_id:100000000000000004 target_role:@Community
```

> **Example bot reply** · The directional connection is created and initial grants are counted.

## /role connections

List directional cross-server role connections targeting this server.

**Command ID** `role:connections`\
**Access** Server owner or a member with `allow_manage_role_connections`. Command-specific checks still apply.

This command has no options.

**Example**

```text theme={null}
/role connections
```

> **Example bot reply** · Directional source and target roles for connections into this server.

## /role disconnect

Remove one directional role connection and optionally revoke its tracked grants.

**Command ID** `role:disconnect`\
**Access** Server owner or a member with `allow_manage_role_connections`. Command-specific checks still apply.

| Option | Type and requirement | What it does |
| - | - | - |
| `source_role_id` | Text · Required | Paste the numeric Discord role ID from the source server. It must be a different server where Celiact is present. |
| `target_role` | Role · Required | Select the receiving role in the current server. The connection grants in the source-to-target direction. |
| `remove_granted` | Boolean · Optional | True attempts to revoke the roles granted and tracked by this connection. False removes the link and leaves the existing roles in place. Default: `True`. |

**Example**

```text theme={null}
/role disconnect source_role_id:100000000000000004 target_role:@Community remove_granted:True
```

> **Example bot reply** · The connection is removed and tracked grants are reconciled.

## /role list

List all protected roles and their manager and whitelist counts.

**Command ID** `role:list`\
**Access** Default Celiact level: admin.

This command has no options.

**Example**

```text theme={null}
/role list
```

> **Example bot reply** · Protected roles with manager and whitelist counts.

## /role removemanager

Remove a role manager from one protected role.

**Command ID** `role:removemanager`\
**Access** Server owner or a member with `allow_manage_role_security`. Command-specific checks still apply.

| Option | Type and requirement | What it does |
| - | - | - |
| `user` | Member or user · Required | Select the Discord account affected by the command. For account lookups, omit it to use your own account. |
| `role` | Role · Required | Select a Discord role in the current server. |

**Example**

```text theme={null}
/role removemanager user:@Alex role:@Events
```

> **Example bot reply** · Removed Alex as a manager.

## /role status

See who can manage or receive a protected role and which permissions it protects.

**Command ID** `role:status`\
**Access** Default Celiact level: admin.

| Option | Type and requirement | What it does |
| - | - | - |
| `role` | Role · Required | Select a Discord role in the current server. |

**Example**

```text theme={null}
/role status role:@Events
```

> **Example bot reply** · The role's managers, whitelist, saved settings, and last update.

## /role unbanish

Release a banished member and optionally restore manageable former roles.

**Command ID** `role:unbanish`\
**Access** Server owner or a member with `allow_manage_banishments`. Command-specific checks still apply.

| Option | Type and requirement | What it does |
| - | - | - |
| `user` | Member or user · Required | Select the Discord account affected by the command. For account lookups, omit it to use your own account. |
| `restore_roles` | Boolean · Optional | True tries to restore the member's eligible former roles when releasing them. False releases them without restoring roles. Default: `True`. |

**Example**

```text theme={null}
/role unbanish user:@Alex restore_roles:True
```

> **Example bot reply** · Alex is released and eligible roles are restored.

## /role unblacklist

Disable protection for a blacklisted role and remove its policy.

**Command ID** `role:unblacklist`\
**Access** Server owner or a member with `allow_manage_role_security`. Command-specific checks still apply.

| Option | Type and requirement | What it does |
| - | - | - |
| `role` | Role · Required | Select a Discord role in the current server. |

**Example**

```text theme={null}
/role unblacklist role:@Events
```

> **Example bot reply** · Role protection disabled.

## /role unwhitelist

Revoke a protected-role whitelist and optionally remove the role.

**Command ID** `role:unwhitelist`\
**Access** Default Celiact level: member.

| Option | Type and requirement | What it does |
| - | - | - |
| `user` | Member or user · Required | Select the Discord account affected by the command. For account lookups, omit it to use your own account. |
| `role` | Role · Required | Select a Discord role in the current server. |
| `remove` | Boolean · Optional | True removes the affected role when the member no longer qualifies. False leaves the current assignment in place. Default: `True`. |

**Example**

```text theme={null}
/role unwhitelist user:@Alex role:@Events remove:True
```

> **Example bot reply** · Alex is removed from the whitelist. Active connections may preserve the role.

## /role whitelist

Authorize a member to hold one protected role and optionally assign it.

**Command ID** `role:whitelist`\
**Access** Default Celiact level: member.

| Option | Type and requirement | What it does |
| - | - | - |
| `user` | Member or user · Required | Select the Discord account affected by the command. For account lookups, omit it to use your own account. |
| `role` | Role · Required | Select a Discord role in the current server. |
| `assign` | Boolean · Optional | True also assigns the newly whitelisted role immediately, subject to role hierarchy. False updates just the whitelist. Default: `False`. |

**Example**

```text theme={null}
/role whitelist user:@Alex role:@Events assign:True
```

> **Example bot reply** · Alex is whitelisted and the role is assigned if permitted.

## /security detector

Enable or disable a single security detector.

**Command ID** `security:detector`\
**Access** Server owner or a member with `allow_change_security`. Command-specific checks still apply.

| Option | Type and requirement | What it does |
| - | - | - |
| `detector` | Text · Required | Select the security signal to inspect or configure. Each detector has its own purpose and may need a Discord intent. Choices: `join`, `new_accounts`, `spam`, `repeat`, `mentions`, `invite`, `term`, `audit`, `bot_added`, `webhook_changes`, `channel_deletes`, `role_deletes`, `ban_burst`, `kick_burst`, `role_grants`, `channel_overwrites`, `mass_mentions`, `link_burst`, `attachment_burst`, `voice_hopping`, `caps_burst`, `emoji_burst`, `message_deletes`, `message_edits`. |
| `enabled` | Boolean · Required | Set to True to enable, add, or grant the selected setting. Choose False to disable or remove it. |

**Example**

```text theme={null}
/security detector detector:new_accounts enabled:True
```

> **Example bot reply** · The new-account detector is enabled.

## /security detector\_reset

Reset a detector's tuning and use the server-wide defaults again.

**Command ID** `security:detector_reset`\
**Access** Server owner or a member with `allow_change_security`. Command-specific checks still apply.

| Option | Type and requirement | What it does |
| - | - | - |
| `detector` | Text · Required | Select the security signal to inspect or configure. Each detector has its own purpose and may need a Discord intent. Choices: `join`, `new_accounts`, `spam`, `repeat`, `mentions`, `invite`, `term`, `audit`, `bot_added`, `webhook_changes`, `channel_deletes`, `role_deletes`, `ban_burst`, `kick_burst`, `role_grants`, `channel_overwrites`, `mass_mentions`, `link_burst`, `attachment_burst`, `voice_hopping`, `caps_burst`, `emoji_burst`, `message_deletes`, `message_edits`. |

**Example**

```text theme={null}
/security detector_reset detector:new_accounts
```

> **Example bot reply** · Custom new-account tuning is reset.

## /security detector\_rules

Tune a detector or view its settings by omitting the optional fields.

**Command ID** `security:detector_rules`\
**Access** Server owner or a member with `allow_change_security`. Command-specific checks still apply.

| Option | Type and requirement | What it does |
| - | - | - |
| `detector` | Text · Required | Select the security signal to inspect or configure. Each detector has its own purpose and may need a Discord intent. Choices: `join`, `new_accounts`, `spam`, `repeat`, `mentions`, `invite`, `term`, `audit`, `bot_added`, `webhook_changes`, `channel_deletes`, `role_deletes`, `ban_burst`, `kick_burst`, `role_grants`, `channel_overwrites`, `mass_mentions`, `link_burst`, `attachment_burst`, `voice_hopping`, `caps_burst`, `emoji_burst`, `message_deletes`, `message_edits`. |
| `threshold` | Integer · Optional | Set the number of events required to trigger the configured action or alert. Value: 1–100. |
| `window_seconds` | Integer · Optional | Set how many seconds of recent events count toward the threshold. Value: 1–3600. |
| `cooldown_seconds` | Integer · Optional | Set the minimum seconds before this rule can respond again for the same monitored subject. Value: 5–86400. |
| `channel` | Channel · Optional | Select a channel from this server that you and Celiact can access. |
| `record` | Boolean · Optional | Choose whether matching detector alerts are saved to security history. |
| `account_age_hours` | Integer · Optional | Maximum age of accounts counted by the new\_accounts detector. This setting applies only to that detector. Value: 1–720. |
| `response` | Text · Optional | Choose `alert`, `delete`, `timeout`, `quarantine`, `kick`, or `ban`. Responses other than `alert` apply only to message detectors. |
| `timeout_minutes` | Integer · Optional | Set the timeout length for a message detector configured to use the timeout response. Value: 1–10080. |
| `delete_message` | Boolean ? Optional | Also delete the triggering message. Available for message detectors. The `delete` response always attempts deletion. |

**Example**

```text theme={null}
/security detector_rules detector:new_accounts threshold:3 window_seconds:60 account_age_hours:48
```

> **Example bot reply** · A summary of the detector's threshold, destination, and account age.

## /security events

Show the ten most recent recorded security alerts.

**Command ID** `security:events`\
**Access** Server owner or a member with `allow_view_security`. Command-specific checks still apply.

| Option | Type and requirement | What it does |
| - | - | - |
| `detector` | Text · Optional | Select the security signal to inspect or configure. Each detector has its own purpose and may need a Discord intent. Choices: `join`, `new_accounts`, `spam`, `repeat`, `mentions`, `invite`, `term`, `audit`, `bot_added`, `webhook_changes`, `channel_deletes`, `role_deletes`, `ban_burst`, `kick_burst`, `role_grants`, `channel_overwrites`, `mass_mentions`, `link_burst`, `attachment_burst`, `voice_hopping`, `caps_burst`, `emoji_burst`, `message_deletes`, `message_edits`. |

**Example**

```text theme={null}
/security events detector:new_accounts
```

> **Example bot reply** · Recent recorded alerts matching the selected detector.

## /security filters

Set content alerts and one trusted channel or role.

**Command ID** `security:filters`\
**Access** Server owner or a member with `allow_change_security`. Command-specific checks still apply.

| Option | Type and requirement | What it does |
| - | - | - |
| `repeated_content` | Boolean · Optional | Enable or disable detection of repeated message content. Message Content intent is required. Default: `False`. |
| `invite_links` | Boolean · Optional | Enable or disable detection of Discord invite links in messages. Default: `False`. |
| `words` | Text · Optional | Enter comma-separated terms to watch. Leave empty to clear configured terms. Maximum length: 300. Default: empty text. |
| `trusted_channel` | Channel · Optional | Select a channel to exempt from content filters, when supported by the filter. |
| `trusted_role` | Role · Optional | Select a role whose members are exempt from this protection. |

**Example**

```text theme={null}
/security filters repeated_content:True invite_links:True words:"example term"
```

> **Example bot reply** · Security filters saved.

## /security setup

Configure monitor-only alerts and their rate thresholds.

**Command ID** `security:setup`\
**Access** Server owner or a member with `allow_change_security`. Command-specific checks still apply.

| Option | Type and requirement | What it does |
| - | - | - |
| `enabled` | Boolean · Required | Set to True to enable, add, or grant the selected setting. Choose False to disable or remove it. |
| `channel` | Channel · Required | Select a channel from this server that you and Celiact can access. |
| `joins` | Integer · Optional | Set the number of joins that triggers the shared join-burst detector window. Value: 2–100. Default: `10`. |
| `messages` | Integer · Optional | Set the number of messages that triggers the shared spam detector window. Value: 2–100. Default: `12`. |
| `audit` | Integer · Optional | Set the number of watched audit-log actions that triggers the shared audit-burst window. Value: 2–100. Default: `4`. |

**Example**

```text theme={null}
/security setup enabled:True channel:#security-log joins:10 messages:12 audit:4
```

> **Example bot reply** · Security alerts enabled in #security-log.

## /security status

Show configured security switches and available Discord intents.

**Command ID** `security:status`\
**Access** Server owner or a member with `allow_view_security`. Command-specific checks still apply.

This command has no options.

**Example**

```text theme={null}
/security status
```

> **Example bot reply** · Monitoring status and readiness for each detector.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.