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

# Moderation

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

## /ban

Permanently ban a member from the server.

**Command ID** `moderation:ban`\
**Access** Default Celiact level: admin.

| Option | Type and requirement | What it does |
| - | - | - |
| `member` | Member or user · Required | Select the current server member affected by the command. |
| `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. |
| `delete_messages` | Text · Optional | Select the amount of the member's recent message history to delete when the ban is applied. Choices: `Never`, `Past hour`, `Past day`, `Past week`. Default: `Never`. |

**Example**

```text theme={null}
/ban member:@Alex reason:"Repeated rule violations"
```

> **Example bot reply** · A private confirmation card if required, followed by the ban result and case number.

## /clearwarnings

Clear active warnings while preserving the case history.

**Command ID** `moderation:clearwarnings`\
**Access** Default Celiact level: admin.

| Option | Type and requirement | What it does |
| - | - | - |
| `member` | Member or user · Required | Select the current server member affected by the command. |

**Example**

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

> **Example bot reply** · The active warnings were cleared and the history was retained.

## /kick

Remove a member from the server.

**Command ID** `moderation:kick`\
**Access** Default Celiact level: admin.

| Option | Type and requirement | What it does |
| - | - | - |
| `member` | Member or user · Required | Select the current server member affected by the command. |
| `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}
/kick member:@Alex reason:"Repeated rule violations"
```

> **Example bot reply** · The kick result and case number, after confirmation when required.

## /lock

Deny sending for @everyone in the current text channel.

**Command ID** `moderation:lock`\
**Access** Default Celiact level: admin.

This command has no options.

**Example**

```text theme={null}
/lock
```

> **Example bot reply** · The channel is locked for the default @everyone role.

## /massban

Ban up to ten current members using comma-separated user IDs.

**Command ID** `moderation:massban`\
**Access** Default Celiact level: admin.

| Option | Type and requirement | What it does |
| - | - | - |
| `user_ids` | Text · Required | Enter up to ten comma-separated numeric Discord user IDs for current members. Review the selected members in the confirmation. Maximum length: 220. |
| `reason` | Text · Required | Write why the action is being taken. Moderation reasons can appear in records or in a member DM, depending on the action's configuration. Length: 1–400 characters. |

**Example**

```text theme={null}
/massban user_ids:100000000000000001,100000000000000002 reason:"Confirmed raid accounts"
```

> **Example bot reply** · A confirmation showing the selected current members, followed by per-member results.

## /nick

Set or reset a member's server nickname.

**Command ID** `moderation:nick`\
**Access** Default Celiact level: admin.

| Option | Type and requirement | What it does |
| - | - | - |
| `member` | Member or user · Required | Select the current server member affected by the command. |
| `nickname` | Text · Optional | Enter a replacement Discord server nickname. Omit it to clear the current nickname. Maximum length: 32. |

**Example**

```text theme={null}
/nick member:@Alex nickname:Alex
```

> **Example bot reply** · Alex's server nickname is updated.

## /purge

Delete up to 100 recent messages from this channel.

**Command ID** `moderation:purge`\
**Access** Default Celiact level: admin.

| Option | Type and requirement | What it does |
| - | - | - |
| `amount` | Integer · Required | Set the number of recent messages to remove. The Discord bulk-delete age limit still applies. Value: 1–100. |

**Example**

```text theme={null}
/purge amount:10
```

> **Example bot reply** · The number of deleted messages, within Discord's bulk-delete constraints.

## /role assign

Add or remove an assignable role while enforcing protected-role policy.

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

| Option | Type and requirement | What it does |
| - | - | - |
| `member` | Member or user · Required | Select the current server member affected by the command. |
| `role` | Role · Required | Select a Discord role in the current server. |
| `remove` | Boolean · Optional | True removes this role from the member. False adds it. Default: `False`. |

**Example**

```text theme={null}
/role assign member:@Alex role:@Events remove:False
```

> **Example bot reply** · Role updated, with a case number when recorded.

## /role assign\_all

Assign one Discord role to all eligible members.

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

| Option | Type and requirement | What it does |
| - | - | - |
| `role` | Role · Required | Choose the single assignable Discord role to give eligible members. Delegated users also need Discord Manage Roles and can only grant eligible roles to members below them. |

**Example**

```text theme={null}
/role assign_all role:@Community
```

> **Example bot reply** · Assignment summary with numbers added, skipped, and failed.

## /slowmode

Set the current text channel's slowmode delay.

**Command ID** `moderation:slowmode`\
**Access** Default Celiact level: admin.

| Option | Type and requirement | What it does |
| - | - | - |
| `seconds` | Integer · Required | Set the delay between messages in the current channel. Use 0 to turn slowmode off. Value: 0–21600. |

**Example**

```text theme={null}
/slowmode seconds:10
```

> **Example bot reply** · Slowmode is set to 10 seconds in the current channel.

## /softban

Ban and unban a member to remove one day of messages.

**Command ID** `moderation:softban`\
**Access** Default Celiact level: admin.

| Option | Type and requirement | What it does |
| - | - | - |
| `member` | Member or user · Required | Select the current server member affected by the command. |
| `reason` | Text · Required | Write why the action is being taken. Moderation reasons can appear in records or in a member DM, depending on the action's configuration. Length: 1–400 characters. |

**Example**

```text theme={null}
/softban member:@Alex reason:"Repeated spam"
```

> **Example bot reply** · The softban result and moderation case.

## /tempban

Temporarily ban a member and automatically unban them after a duration.

**Command ID** `moderation:tempban`\
**Access** Default Celiact level: admin.

| Option | Type and requirement | What it does |
| - | - | - |
| `member` | Member or user · Required | Select the current server member affected by the command. |
| `duration` | Text · Required | Specify how long the action lasts. Examples include 10m, 2h, and 1d 30m. The command and Discord may impose additional limits. Maximum length: 100. |
| `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. |
| `delete_messages` | Text · Optional | Select the amount of the member's recent message history to delete when the ban is applied. Choices: `Never`, `Past hour`, `Past day`, `Past week`. Default: `Never`. |

**Example**

```text theme={null}
/tempban member:@Alex duration:2h reason:"Repeated rule violations"
```

> **Example bot reply** · The temporary ban, expiry, and case number.

## /timeout

Temporarily restrict a member from interacting.

**Command ID** `moderation:timeout`\
**Access** Default Celiact level: admin.

| Option | Type and requirement | What it does |
| - | - | - |
| `member` | Member or user · Required | Select the current server member affected by the command. |
| `duration` | Text · Required | Specify how long the action lasts. Examples include 10m, 2h, and 1d 30m. The command and Discord may impose additional limits. Maximum length: 100. |
| `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. Default: `No reason provided`. |

**Example**

```text theme={null}
/timeout member:@Alex duration:10m reason:"Cooling-off period"
```

> **Example bot reply** · The timeout result and case number.

## /unban

Unban a Discord user by ID.

**Command ID** `moderation:unban`\
**Access** Default Celiact level: admin.

| Option | Type and requirement | What it does |
| - | - | - |
| `user_id` | Text · Required | Enter the numeric Discord user ID. Copy it from Discord rather than using a mention. |
| `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. Default: `No reason provided`. |

**Example**

```text theme={null}
/unban user_id:100000000000000001 reason:"Appeal accepted"
```

> **Example bot reply** · The account is unbanned and the action is recorded.

## /unlock

Clear @everyone's send-message override in this text channel.

**Command ID** `moderation:unlock`\
**Access** Default Celiact level: admin.

This command has no options.

**Example**

```text theme={null}
/unlock
```

> **Example bot reply** · The default role's send-message override is cleared.

## /untimeout

Remove a member's timeout.

**Command ID** `moderation:untimeout`\
**Access** Default Celiact level: admin.

| Option | Type and requirement | What it does |
| - | - | - |
| `member` | Member or user · Required | Select the current server member affected by the command. |
| `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. Default: `No reason provided`. |

**Example**

```text theme={null}
/untimeout member:@Alex reason:"Staff review complete"
```

> **Example bot reply** · The member's timeout is removed.

## /warn

Record a warning for a member.

**Command ID** `moderation:warn`\
**Access** Default Celiact level: admin.

| Option | Type and requirement | What it does |
| - | - | - |
| `member` | Member or user · Required | Select the current server member affected by the command. |
| `reason` | Text · Required | Write why the action is being taken. Moderation reasons can appear in records or in a member DM, depending on the action's configuration. Length: 1–400 characters. |

**Example**

```text theme={null}
/warn member:@Alex reason:"Repeated off-topic posting"
```

> **Example bot reply** · Warning recorded with a case number.

## /warnings

Show a member's ten most recent active warnings.

**Command ID** `moderation:warnings`\
**Access** Default Celiact level: admin.

| Option | Type and requirement | What it does |
| - | - | - |
| `member` | Member or user · Required | Select the current server member affected by the command. |

**Example**

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

> **Example bot reply** · Alex's most recent active warnings.


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