> ## 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.

# Using Celiact

## What happens when you run a command

```mermaid theme={null}
flowchart LR
    A["Choose a command in Discord"] --> B{"Celiact access and channel checks"}
    B -->|Denied| C["Private explanation"]
    B -->|Allowed| D{"Confirmation required?"}
    D -->|Yes| E["Review the private confirmation"]
    D -->|No| F["Celiact runs the action"]
    E -->|Confirm| F
    E -->|Cancel or expire| G["Action stops"]
    F --> H["Reply, update, or case record"]
```

Celiact can also enforce Discord permissions inside individual commands. For example, it can grant access to a moderation command in a permission level while Discord still blocks the action if either role hierarchy is too low.

## Give your moderators access

1. Open `/permissions levels`. Select a built-in level or create a custom one with `/permissions level`.
2. Use `/permissions role level:moderator role:@Moderators enabled:True` to connect a Discord role to that Celiact level. Use `/permissions member` for an individual assignment.
3. Add the command grants and permits the level needs. Try `/permissions command level:moderator command_id:moderation:warn enabled:True`.
4. Check `/profile` for the member's effective access if you have permission to view it. Use `/permissions catalog` to browse permits.

The actual server owner controls the Celiact Owner level. Members with `allow_permissions_edit` may manage lower levels, within their own access. A command grant enables the named Celiact command. A permit enables a capability such as viewing security details.

| Selector | Where it helps |
| - | - |
| `moderation:warn` | A single command |
| `role:*` | A command family where the field supports patterns |
| `all` or `*` | All matching entries in a bulk-capable field |

## Set up a support desk

```mermaid theme={null}
flowchart LR
    A["/ticket setup"] --> B["/ticket publish"]
    B --> C["Member opens a private ticket"]
    C --> D["Staff claims and prioritizes it"]
    D --> E["Close ticket"]
    E --> F["Export transcript or delete the closed channel"]
```

Set an open ticket category and support role before publishing. Reserve the support panel for a channel members can see. The ticket itself uses private permissions and can include explicitly added participants. Close the ticket before deleting its channel. `/ticket delete` asks for the confirmation word `DELETE`.

## Configure anti-nuke step by step

1. Give Celiact View Audit Log and choose a private alert channel. Use `/antinuke settings enabled:True response:alert channel:#security-log` to begin in alert mode.
2. Review `/antinuke status` and configure an individual action with `/antinuke rule`. Per-action rules have their own event window and cooldown.
3. Review `/antinuke trust` before enabling stronger responses. The server owner and Celiact are exempt.
4. Save the reviewed rule set with `/antinuke preset action:save name:raid_response`. A load replaces the rule settings and preserves the on/off state, alert channel, and trust list.

```mermaid theme={null}
flowchart TD
    A["Discord audit event"] --> B{"Trusted operator?"}
    B -->|Yes| C["Exempt"]
    B -->|No| D{"Rule threshold reached?"}
    D -->|Yes| E["Apply selected response to operator"]
    D -->|No| F["Keep counting within the window"]
    D -->|Yes and revert enabled| G["Try to undo the triggering event for its target"]
    E --> H["Record incident"]
    G --> H
```

For a bot-add event, `response:kick` kicks the person who added the bot. `revert:True` removes the added bot if Celiact can manage it. Reverts are available for bans, timeouts, role or permission grants, and bot adds. Check `/antinuke incidents` to see what actually happened.

## Play music

Join a voice channel, then run `/music play` with a direct URL or a search. Plain text searches YouTube. Use `ytsearch:` for YouTube, `ytmsearch:` for YouTube Music, `scsearch:` for SoundCloud, or `spsearch:` for Spotify when the corresponding source is available on your Lavalink node. Search results can open a result picker.

Use `/music overview` for the playback panel and your personal library, `/music studio` for effects, and `/music autoplay enabled:True` for related tracks after the queue empties. Bitrate changes depend on the Discord server's limit and the ability to manage its voice channel.

## Diagnose missing commands or access

| Symptom | Check |
| - | - |
| Command missing from Discord | The bot was invited with application commands enabled and the latest command sync succeeded. |
| Command exists but is denied | Check the member's level, named permits, and Discord permissions. |
| Command works in another channel | Check `/config command_channel` and command enablement. |
| Prefix command never responds | Check `/config command_interface` and the Message Content intent. |
| Role action fails | Check Manage Roles and put Celiact's highest role above the target role and members it must manage. |
| No security alerts | Check `/security status`, the required intents or View Audit Log, detector toggles, and alert-channel permissions. |
| No music playback | Verify Lavalink is running and review source-specific errors in its logs. |


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