> For the complete documentation index, see [llms.txt](https://classic.invitelogger.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://classic.invitelogger.me/polish/modules/moderation-1/punishments.md).

# Punishments

## What are punishments?

Punishments are actions like `ban`, `kick` or `mute` that can be given to a user when he violates the rules. You can either call punish users directly by using commands, or you can define punishments that happen after a user reaches a certain amount of strikes.

## How can I punish a user after reaching a certain amount of strikes?

With the `punishmentconfig` command you can set after how many strikes a certain punishment action will be given.

```
!punishmentconfig <punishmentType> <numberOfStrikesNeeded>
```

A list of all available punishments:

* ban
* softban
* kick
* mute
* warn

So if you would like to kick a user after he reaches 5 strikes, you would have to execute the following command

```
!punishmentconfig kick 5
```

If you want to delete a `punishmentconfig`, just set the strikes to `0` like that:

```
!punishmentconfig kick 0
```

To see all punishment configs, just use the command without giving any arguments:

```
!punishmentconfig
```


---

# 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://classic.invitelogger.me/polish/modules/moderation-1/punishments.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.
