> For the complete documentation index, see [llms.txt](https://docs.securitybot.gg/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.securitybot.gg/anti-nuke/anti-nuke/changing-punishments.md).

# Changing Punishments

Configure what happens to users who exceed their action limits.

## Available Punishments

| Punishment       | Description                                  |
| ---------------- | -------------------------------------------- |
| **Ban**          | Permanently removes the user from the server |
| **Kick**         | Removes the user (they can rejoin)           |
| **Remove Roles** | Strips all roles from the user               |
| **Quarantine**   | Restricts the user's permissions             |

## Using the Dashboard

1. Go to [securitybot.gg](https://securitybot.gg/) and log in
2. Select your server from the dashboard
3. Navigate to the **Anti-Nuke** category
4. Select the punishment type for each action
5. Click **Save**

## Using Commands

```
/setpunishment
```

1. Type `/setpunishment`
2. Select the action (ban, kick, channel delete, etc.)
3. Select the punishment type
4. Send the command

## Choosing the Right Punishment

| Scenario                   | Recommended Punishment     |
| -------------------------- | -------------------------- |
| High security servers      | Ban                        |
| Moderate security          | Remove Roles or Quarantine |
| Servers with trusted staff | Kick or Remove Roles       |
| Testing/development        | Quarantine                 |

## Tips

* **Ban** is the most secure but cannot be undone easily
* **Remove Roles** is effective and reversible
* **Quarantine** is useful when you want to investigate before taking permanent action
* Consider the severity of each action type when choosing punishments

## Example Configuration

A balanced setup might look like:

| Action                | Punishment   |
| --------------------- | ------------ |
| Mass Ban              | Ban          |
| Mass Kick             | Remove Roles |
| Channel Delete        | Ban          |
| Role Delete           | Ban          |
| Adding Bots           | Ban          |
| Dangerous Permissions | Remove Roles |


---

# 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://docs.securitybot.gg/anti-nuke/anti-nuke/changing-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.
