> ## 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.

# /mod

> Ban, kick, time out and mute members, jail, warnings and cases.

> [!TIP]
>
> Type the command in Discord and pick from the list. Discord asks for each option in turn, so you don't need to remember the order. Options marked optional can be left out.

## /mod invoke

Customise moderation responses and DMs.

* `command`: Moderation command. One of `jail`, `kick`, `ban`, `softban`, `hardban`, `timeout`, `mute`, `reactionmute`, `imagemute`, `warn`.
* `destination`: Response or direct message. One of `message`, `dm`.
* `message`: Text, embed, Components V2 script, or reset.

## /mod nuke

Nuke this channel and remove all of its messages.

* `confirm`: Confirm that this channel and its messages will be deleted. True or false.

## /mod ban

Ban a user from the server.

* `user`: User ID, mention, username, or server display name.
* `reason` (optional): Why this action is being taken.
* `delete_days` (optional): Delete this many days of the user's recent messages (0-7). A whole number.

## /mod kick

Kick a member from the server.

* `user`: User ID, mention, username, or server display name.
* `reason` (optional): Why this action is being taken.
* `delete_days` (optional): Delete this many days of the user's recent messages (0-7). A whole number.

## /mod timeout

Temporarily stop a member from interacting.

* `user`: User ID, mention, username, or server display name.
* `duration`: Duration such as 30s, 10m, 2h, or 3d.
* `reason` (optional): Why this action is being taken.

## /mod softban

Temporarily ban a user, then notify them when it expires.

* `user`: User ID, mention, username, or server display name.
* `duration`: Duration such as 30s, 10m, 2h, or 3d.
* `reason` (optional): Why this action is being taken.

## /mod hardban

Ban a user and lock the ban against manual removal.

* `user`: User ID, mention, username, or server display name.
* `reason` (optional): Why this action is being taken.

## /mod unban

Remove a ban, including a hard-ban lock.

* `user`: User ID, mention, username, or server display name.
* `reason` (optional): Why this action is being taken.

## /mod unmute

Remove a channel mute from a member.

* `user`: User ID, mention, username, or server display name.
* `channel` (optional): Text channel; defaults to the current channel. Pick a channel.
* `type` (optional): Mute type to remove. One of `messages`, `reactions`, `images`.

## /mod untimeout

Remove a member's timeout.

* `user`: User ID, mention, username, or server display name.
* `reason` (optional): Why this action is being taken.

## /mod mute

Deny a member permission to talk in a channel.

* `user`: User ID, mention, username, or server display name.
* `channel` (optional): Text channel; defaults to the current channel. Pick a channel.
* `enabled` (optional): Enable or remove the restriction; defaults to true. True or false.

## /mod reactionmute

Deny a member permission to add reactions in a channel.

* `user`: User ID, mention, username, or server display name.
* `channel` (optional): Text channel; defaults to the current channel. Pick a channel.
* `enabled` (optional): Enable or remove the restriction; defaults to true. True or false.

## /mod imagemute

Deny a member permission to send attachments and links in a channel.

* `user`: User ID, mention, username, or server display name.
* `channel` (optional): Text channel; defaults to the current channel. Pick a channel.
* `enabled` (optional): Enable or remove the restriction; defaults to true. True or false.

## /mod imageonly

Only allow messages with attachments in a channel.

* `channel`: Text channel; defaults to the current channel. Pick a channel.
* `enabled` (optional): Enable or remove the restriction; defaults to true. True or false.

## /mod jailsetup

Create or repair the jail category, channel, role, and overwrites.

No options.

## /mod jail

Toggle whether a member is jailed.

* `user`: Member ID, mention, username, display name, or partial name.

## /mod cases

Search moderation cases.

* `query` (optional): Case number or user ID.

## /mod warn

Warn a server member.

* `user`: Member to warn. Pick a member.
* `reason`: Warning reason.

## /mod warns

View a user's warning history.

* `user`: User whose warnings to view. Pick a member.

## /mod punishments

View a user's complete punishment history.

* `user`: User whose punishments to view. Pick a member.

## /mod auditlog

Search the bot audit history.

* `query` (optional): Actor, target, type, or text.


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