> For the complete documentation index, see [llms.txt](https://itachi-bot.gitbook.io/itachi-bot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://itachi-bot.gitbook.io/itachi-bot/commands/moderation-commands.md).

# Moderation Commands

{% hint style="danger" %}
This command can only be used by moderators, admins & owner
{% endhint %}

```
/ban [user] <reason>
```

Ban a user. So he/she can't join the server again.

```
/kick [user] <reason>
```

Kick a user. So he/she can rejoin.

```
/mute [user] [reason] [duration]
```

Mute a user so he can't type a message

```
/warn create [user] [reason]
```

Warn a user for their misbehaving

```
/warn remove [user] [points]
```

Remove the warning from an innocent user

```
/warn list [user]
```

Check no. of warnings the user got with specific ids

```
/warn info [user] [id]
```

Get information about a warning

```
/warn edit [user] [id] [reason]
```

Edit a warning

```
/warn clear [user]
```

Clear all warnings of a user

```
/unmute [user]
```

Unmute a user

```
/lock [type:(lock, unlock)] <channel>
```

Lock or unlock a text channel.

```
/slowmode [time] <channel>
```

Slow mode is a feature to avoid spam.

```
/timeout [user] [duration] <reason>
```

Add timeout to a user (a concept like a mute system but you can't unmute until time is over).

```
/unban [target] <reason>
```

Unban a user. So he can join the server again

```
/clear [amount] <channel>
```

Delete messages from a text channel.

```
/giverole [role] [user]
```

Give a role to a user.

```
/embed [title] [description] [footer] [color] <image> <thumbnail>
```

Create a custom embed.

```
/announce [title] [description] <channel> <notify_role>
```

Announce in a server with an embed.

```
/nuke
```

Delete all messages from the channel.

```
/lockdown
```

Lock all channels in a server.

```
/unlockdown 
```

Unlock all channel

```
/poll simple [title] [options] [channel]
```

Create a quick poll on your server.

```
/poll advance [title] [choices] [duration] [color] [emojis] [force-end-emoji]
```

Create an advance poll

```
/timer
```

Start a timer.

<mark style="color:purple;">You've reached the bottom of this page, you've scrolled further than most Olympic swimmers! Now take a break before you start training for the next scrolling marathon.</mark>


---

# 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://itachi-bot.gitbook.io/itachi-bot/commands/moderation-commands.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.
