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

# Moderation

> Know how the moderation system works.

## Temporary Roles

Temporary Roles allow you to assign a role to a member for a specific period of time.

Once the duration expires, BlaZe automatically removes the role.

### Adding a Temporary Role

```bash theme={null}
?temprole add <member> <role> <duration>
```

Example:

```bash theme={null}
?temprole add @User Member 7d
```

The role will automatically be removed after 7 days.

### Managing Temporary Roles

Use the following commands to manage active temporary roles:

```bash theme={null}
?temprole list
```

Displays all active temporary roles in the server.

```bash theme={null}
?temprole info [user]
```

Displays all active temporary roles assigned to a specific user.

```bash theme={null}
?temprole remove <id>
```

Removes a temporary role before it expires.

<Info>
  Each temporary role receives a unique ID. This ID can be found using the list or info commands.
</Info>

***

## Warning System

Warnings allow moderators to keep track of rule violations.

### Warning a User

```bash theme={null}
?warn <user> <reason>
```

Stores a warning for the specified member.

### Viewing Warnings

```bash theme={null}
?list warns [user]
```

View warnings for a specific user or view all warnings in the server.

### Warning Information

```bash theme={null}
?warn info <id>
```

Displays detailed information about a warning, including:

* Moderator
* User
* Reason
* Creation time
* Warning ID

### Removing Warnings

```bash theme={null}
?warn clear <user>
```

Removes all warnings from a user.

```bash theme={null}
?warn clear <user> <id>
```

Removes a specific warning.

<Info>
  Warnings older than 6 months are automatically removed from the database.
</Info>

***

## Bulk Role Management

BlaZe can assign or remove roles from large groups of members.

Supported targets include:

* All members
* Human members only
* Bots only

Bulk role operations may take time depending on server size.

### Monitoring Progress

```bash theme={null}
?role status
```

Displays the progress of an active bulk role assignment.

```bash theme={null}
?rrole status
```

Displays the progress of an active bulk role removal.

### Cancelling Operations

```bash theme={null}
?role cancel
```

Stops the current role assignment process.

```bash theme={null}
?rrole cancel
```

Stops the current role removal process.

<Warning>
  Large servers may require several minutes to complete bulk role operations.
</Warning>

***

## Audit Logs

BlaZe can display Discord audit log entries directly within Discord.

```bash theme={null}
?audit <limit>
```

Useful for reviewing:

* Channel changes
* Role changes
* Member moderation actions
* Server configuration changes

<Info> The audit viewer displays the responsible user, target, action performed, and timestamp. </Info>
