# Moderation

![](/files/-MRfmc10MalOLeUVe7Yo)

## Main Commands

| Command                  | Description                                            |
| ------------------------ | ------------------------------------------------------ |
| /logs                    | Sets a log channel in your server                      |
| /ban \<user>             | Bans a user from your server                           |
| /unban \<user>           | Unbans a user from your server                         |
| /kick \<user>            | Kicks a user from your server                          |
| /mute \<user> \<time>    | Mutes the user in your server for a set amount of time |
| /clear \<amount> \[user] | Clears messages in a channel                           |

## AutoMod

| Command          | Description                 |
| ---------------- | --------------------------- |
| /automod         | Sets up AutoMod             |
| /automod status  | Check the status of AutoMod |
| /disable-automod | Disables AutoMod            |

{% hint style="info" %}
AutoMod consists of:

* Sending general links
* Sending Discord links
* Swearing
* Mass tagging
* Emoji spam
* Duplicate text
* Mass Capitals
* Anti Raid
* Decancer
* Anti Bad Name
  {% endhint %}

## Warning System

| Command                        | Description                                       |
| ------------------------------ | ------------------------------------------------- |
| /warn \<user> \<reason>        | Warns a user in your server                       |
| /warns \<user>                 | Checks the warnings for a specified user          |
| /clear-warning \<user> \<warn> | Clears the specified warns from the selected user |

{% hint style="info" %}
The warning message will be sent to the user in DMs
{% endhint %}

## Role Management

| Command                                 | Description                                 |
| --------------------------------------- | ------------------------------------------- |
| /roles add \<user> \<role>              | Adds a role to the specified user           |
| /roles remove \<user> \<role>           | Removes a role from the specified user      |
| /roles add-temp \<user> \<role> \<time> | Adds a temp role to the specified user      |
| /roles remove-temp \<user> \<role>      | Removes a temp role from the specified user |

## Other Commands

| Command                   | Description                                                  |
| ------------------------- | ------------------------------------------------------------ |
| /slowmode \<time>         | Sets a channel slowmode                                      |
| /lock \[time]             | Locks a channel preventing users from sending messages there |
| /unlock channel           | Unlocks a channel allowing users to send messages again      |
| /server-lockdown \[time]  | Locks down the entire server                                 |
| /unlock server            | Unlocks a server from lockdown                               |
| /nuke \<channel>          | Deletes a channel then recreates it with the same perms/name |
| /report \<user> \<reason> | Reports the specified user to the bot owners                 |
| /block                    | Blocks a channel from bot commands                           |
| /block-category           | Blocks a category from bot commands                          |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.alph4.xyz/modules/moderation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
