> ## Documentation Index
> Fetch the complete documentation index at: https://docs.curebot.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Punishment messages

> Rewrite what cure says in the channel and in the member's DMs when a moderator acts.

When a moderator bans someone, cure says something twice: a short reply in the channel, and a DM to the member explaining what happened. Both have sensible defaults, and you can rewrite either for each kind of punishment.

## Where

**Dashboard → Moderation → Punishment messages**.

**1. Pick a punishment**

The dropdown groups them: **Removals** (ban, kick, softban, hardban), **Restrictions** (timeout, jail and the mutes) and **Warnings**. *Every punishment* is a shared DM used by any punishment without its own.

**2. Choose where**

**In the channel** is the reply moderators see. **In their DMs** is what the member gets.

**3. Write it**

Use **Insert a variable** to add details like the member, the reason or the case number. The preview underneath is drawn by cure itself, so what you see is what Discord gets.

**4. Save**

Nothing changes until you press Save. **Use the default** puts cure's own message back.

## Variables you'll use most

| Variable | Becomes |
| - | - |
| `{target.mention}` | The punished member |
| `{punishment.action}` | What happened, like *banned* |
| `{punishment.reason}` | The reason given |
| `{punishment.duration}` | How long, for timeouts and softbans |
| `{punishment.case_number}` | The case number |
| `{moderator.mention}` | The moderator |
| `{server.name}` | Your server's name |

## Make it a design

Start a message with `{embed}` or `{components}` to send a full embed or container instead of text. The syntax is the same as everywhere else in cure: see [Message Studio](https://docs.curebot.site/studio/messages.md).

## Good to know

* Turn off **DM members when they're punished** to send no DMs at all.
* DMs always carry a button back to your server, and an **Appeal** button when [appeals](https://docs.curebot.site/moderation/appeals.md) are on.
* The default channel reply is just 👍, so it doesn't clutter busy channels.
* From Discord, `/mod invoke` sets the same messages.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.