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

# Channels & threads

> Lockdowns, slowmode, hiding, nuking, and thread management.

## Lockdowns

A lockdown removes send permissions from a role so nobody can talk. It's the first thing to reach for when something's going wrong in a channel.

<CodeGroup>
  ```javascript This channel theme={null}
  !lockdown
  ```

  ```javascript A specific one theme={null}
  !lockdown #general spam wave
  ```

  ```javascript The whole server theme={null}
  !lockdown all
  ```

  ```javascript Timed theme={null}
  !lockdown until 2h
  !lockdown all until 6pm
  ```

  ```javascript Unlock theme={null}
  !unlockdown
  !unlockdown all
  ```
</CodeGroup>

Requires **Manage Roles**. Aliases: `lock`, `l` / `unlock`, `ul`, `uld`.

`lockdown all until 6pm` accepts natural language, and respects your [timezone](/utility/everyday#timezones) if you've set one.

### Which role gets locked

By default it's `@everyone`. If your server gates access behind a member role instead, point it at that:

```javascript theme={null}
!lockdown role @Member
```

### Channels to leave alone

```javascript theme={null}
!lockdown ignore #staff-chat
!lockdown ignore list
!lockdown ignore remove #staff-chat
!lockdown ignore clear
```

Ignored channels are skipped by `lockdown all`, which is how you keep staff coordination working while the rest of the server is frozen. Alias: `exempt`.

<Tip>
  `unlockdown all` only unlocks channels **it** locked. Channels that were already private stay private, so you can't accidentally expose a staff channel by unlocking the server.
</Tip>

## Slowmode

<CodeGroup>
  ```javascript Set it theme={null}
  !slowmode #general 10s
  ```

  ```javascript Longer theme={null}
  !slowmode #general 5m getting heated
  ```

  ```javascript Remove it theme={null}
  !slowmode off #general
  ```
</CodeGroup>

Requires **Manage Channels**. Aliases: `slow`, `slowmo`, `cooldown`, `cd`. Discord's maximum is 6 hours.

## Hiding and revealing

<CodeGroup>
  ```javascript Hide from a member theme={null}
  !hide #staff @someone
  ```

  ```javascript Hide from a role theme={null}
  !hide #staff @Member
  ```

  ```javascript Reveal again theme={null}
  !reveal #staff @someone
  ```
</CodeGroup>

Requires **Manage Channels**. `hide` aliases: `private`, `priv`. `reveal` aliases: `unhide`, `public`.

With no target, it hides the channel from `@everyone`. This edits channel overwrites, so it's the same thing you'd do in channel settings — just faster.

## Topics

```javascript theme={null}
!topic #general read the pinned messages
!topic remove #general
```

Requires **Manage Channels**.

## Nuking a channel

```javascript theme={null}
!nuke
```

Clones the current channel — same name, permissions, position, topic — and deletes the original. Instant way to wipe a channel with no history limit.

Requires **Administrator**.

<Warning>
  The new channel has a **new ID**. Anything referencing the old one breaks: pinned message links, webhooks, sticky message configs, counter channels, ticket panels. Re-point those afterwards.
</Warning>

### Scheduled nukes

```javascript theme={null}
!nuke add #daily-chat 1d
!nuke list
!nuke view #daily-chat
!nuke remove #daily-chat
!nuke clear
```

Wipes the channel on a repeating interval. Popular for daily-reset channels and temporary event channels. `nuke clear` needs **Manage Channels** and **Manage Messages**; the rest need **Administrator**.

## Threads

```javascript theme={null}
!thread lock
!thread close
!thread open
!thread rename bug reports
!thread delete
!thread unlock
```

Requires **Manage Threads**. Each takes an optional thread and reason — omit the thread to act on the one you're in. Aliases: `threads`, `t`.

| Command         | Aliases               | Effect                         |
| --------------- | --------------------- | ------------------------------ |
| `thread lock`   | `l`                   | No new messages, stays visible |
| `thread unlock` | `ul`                  | Allow messages again           |
| `thread close`  | `archive`             | Archive it                     |
| `thread open`   | `unarchive`, `reopen` | Bring it back                  |
| `thread rename` | `name`                | Rename                         |
| `thread delete` | —                     | Delete permanently             |

### Preventing auto-archive

Discord archives inactive threads on a timer. To keep one alive indefinitely:

```javascript theme={null}
!thread add #important-thread
!thread list
!thread unwatch #important-thread
!thread clear
```

Requires **Manage Channels**. Watched threads are automatically unarchived whenever Discord archives them.

<Note>
  To create a thread on **every** message in a channel automatically, see [autothreads](/setup/channels#autothreads).
</Note>

## Command reference

| Command                            | Permission      | Description                  |
| ---------------------------------- | --------------- | ---------------------------- |
| `lockdown [channel] [reason]`      | Manage Roles    | Lock a channel               |
| `lockdown all [reason]`            | Manage Roles    | Lock every channel           |
| `lockdown until <time>`            | Manage Roles    | Lock until a time            |
| `lockdown all until <time>`        | Manage Roles    | Lock everything until a time |
| `lockdown role <role>`             | Manage Roles    | Which role gets locked       |
| `lockdown ignore <channel>`        | Manage Roles    | Exempt a channel             |
| `lockdown ignore list`             | Manage Roles    | View exemptions              |
| `lockdown ignore remove <channel>` | Manage Roles    | Un-exempt                    |
| `lockdown ignore clear`            | Manage Roles    | Clear exemptions             |
| `unlockdown [channel] [reason]`    | Manage Roles    | Unlock                       |
| `unlockdown all [reason]`          | Manage Roles    | Unlock everything it locked  |
| `slowmode [channel] [delay]`       | Manage Channels | Set slowmode                 |
| `slowmode off [channel]`           | Manage Channels | Remove slowmode              |
| `hide [channel] [target]`          | Manage Channels | Hide from a member or role   |
| `reveal [channel] [target]`        | Manage Channels | Reveal again                 |
| `topic [channel] <text>`           | Manage Channels | Set the topic                |
| `topic remove [channel]`           | Manage Channels | Clear the topic              |
| `nuke`                             | Administrator   | Clone and delete the channel |
| `nuke add <channel> [interval]`    | Administrator   | Schedule recurring nukes     |
| `nuke list`                        | Administrator   | View scheduled nukes         |
| `nuke remove <channel>`            | Administrator   | Cancel one                   |
| `thread lock/unlock/close/open`    | Manage Threads  | Thread state                 |
| `thread rename [thread] <name>`    | Manage Threads  | Rename                       |
| `thread delete [thread]`           | Manage Threads  | Delete                       |
| `thread add <thread>`              | Manage Channels | Prevent auto-archiving       |
| `thread list`                      | Manage Channels | View watched threads         |
| `thread unwatch <thread>`          | Manage Channels | Stop watching                |
