---
title: /case
description: View a moderation case or a user's case history.
---
## Overview

`/case` lets you look up an individual moderation case or view a user's full case history, with options to delete cases from within the results.

## Required Permissions

- **Moderate Members**

## Subcommands

### view

| Option | Required | Description |
|--------|----------|-------------|
| `case_id` | Yes | Case ID to view |

Shows case details: user, moderator, action, reason, date, source, and appeal status. Includes a **Delete case** button (with a confirmation step) and a **View all** button that opens the user's full history.

### history

| Option | Required | Description |
|--------|----------|-------------|
| `user` | Yes | User whose history to view |

Shows the user's cases, 10 per page, with:

- A filter menu for status (all, active, canceled) and action type.
- A select menu to jump to any listed case.
- Page navigation buttons.
- A **Clear** button (with a confirmation step) that removes all cases and warnings for the user.

## Behavior

- Case IDs referenced in embeds link to the numbered case created by moderation commands such as `/ban`, `/warn`, and `/mute`.
- Deleting a case only removes that case record. Clearing a user's history removes all of their cases and warnings.
- Both actions are logged to the log channel if one is configured.