> For the complete documentation index, see [llms.txt](https://help.johnbot.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.johnbot.app/en/features/moderation.md).

# Moderation

**Video tutorial related to this page:** [Effectively Moderate Your Server with John-Bot - Tutorial #5](https://jnbt.xyz/tutorials/moderation)

### :rocket: Introduction

John-Bot's command-based moderation system gives you the tools to efficiently moderate your Discord server. With powerful commands, you can simplify and speed up moderation to maintain a safe environment — all with advanced features through John-Bot that are unavailable to regular users.

### :clipboard: Command List

| Command           | Description                                         | Example                                                   |
| ----------------- | --------------------------------------------------- | --------------------------------------------------------- |
| /ban              | Bans a user from the server.                        | ![/ban command](/files/Bt4ZQnULh89WjWHg5mk6)              |
| /clear            | Deletes a number of messages in a channel.          | ![/clear command](/files/wiEDdJCevdLDgRk6OIcG)            |
| /kick             | Kicks a member from the server.                     | ![/kick command](/files/5aq7VoAm28keK92nMBjb)             |
| /lock             | Locks a server channel.                             | ![/lock command](/files/cRBm3ibldZdELnxS3OYo)             |
| /mute             | Mutes a member for a certain duration.              | ![/mute command](/files/0BPmMNQYyMr7fd3BG4pR)             |
| /nickname         | Changes a server member's nickname.                 | ![/nickname command](/files/urcyl1Pwkr5Btp86Pg1o)         |
| /slowmode disable | Disables slowmode in a channel.                     | ![/slowmode disable command](/files/k1hlKxdDui2QIF5GzYzc) |
| /slowmode set     | Sets slowmode in a channel.                         | ![/slowmode set command](/files/90OWPTxFHldDOuR2Y4Kc)     |
| /unban            | Unbans a user.                                      | ![/unban command](/files/ymet66CeTEjy7hHUHSrN)            |
| /unlock           | Unlocks a server channel.                           | ![/unlock command](/files/Y4sskuIWWijuFbPQMTUn)           |
| /unmute           | Unmutes a muted member.                             | ![/unmute command](/files/nMn1E3kBER2qHfCzCPP2)           |
| /warn             | Warns a server member.                              | ![/warn command](/files/xC8h6KYwxTIBDesyGK1f)             |
| /warnings clear   | Clears warnings for a member or all server members. | ![/warnings clear command](/files/Q6rwbr5h1hWXqvtkAgKt)   |
| /warnings list    | Shows a member's warning list.                      | ![/warnings list command](/files/3xsCJvr66WSWccX0m1Su)    |
| /warnings remove  | Removes a warning from a member.                    | ![/warnings remove command](/files/bIv6W1dOna047L5Auhuq)  |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.johnbot.app/en/features/moderation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
