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

# Warning System Interactions

> Explore all commands and interactive components in the Warning System bot — including section setup, moderation tools, and real-time summon/warning panels.

## 🚀 Slash Commands

### `/newsection`

Creates a new moderation section.

**Options:**

* `admin` — Whether this section uses the admin panel layout (`true` or `false`)
* `name` — Section name
* `manager role` — Role ID of the section manager
* `warning role 1` to `5` — Roles to assign at each warning level (`4` and `5` are optional)
* `log channel` — Optional channel for detailed logs

***

### `/setup`

Shows a menu to select and deploy the moderation panel for a specific section.

***

### `/hideroles`

Automatically hides the **Temp Ban** and **Urgent Summon** roles from all channels — useful for keeping punishments invisible to the rest of the server.

***

### `/removesections`

Opens a menu displaying all sections, allowing admins to select one for removal.

***

## 🧷 Panel Buttons

### 🔧 Admin Panel

#### 🔨 Ban Options

* **Ban**\
  Prompts a **modal** with:
  * User ID (required)
  * Reason (required)\
    The user is permanently banned from the server.

* **Temporary Ban**\
  Prompts a modal:
  * User ID
  * Reason
  * Period (`7d`, `10h`, `15m` `d=days` `h=hours` `m=minutes`)
    The system will automatically revoke the ban after the time expires. Manual removal is **not supported** and will trigger a re-ban with the temp ban role.

* **Unban**\
  Prompts:
  * User ID\
    Unbans the user regardless of whether it was a guild ban or temp ban.

***

#### ⚠️ Warn Options

* **Warn**\
  Modal includes:
  * User ID
  * Reason
  * Warning number (1–5)
  * Period (`7d`, `10h`, `15m` `d=days` `h=hours` `m=minutes`)

* **Revoke Warning**\
  Modal includes:
  * User ID
  * Warning number (e.g., `1`, `2`, or `ALL` to clear all)

***

#### 📣 Summon Options

* **Urgent Summon**\
  Modal includes:
  * User ID
  * Reason\
    The system will automatically revoke the ban after the time expires. Manual removal is **not supported** and will trigger a re-summon with the urgent summon role.

* **Normal Summon**\
  Modal includes:
  * User ID
  * Reason\
    Sends a standard summon message to the user.

* **Cancel / End Summon**\
  Modal includes:
  * User ID
  * Type (`1` = Cancel, `2` = End)

***

### 👤 Normal Panel

#### ⚠️ Warn Options

Same behavior as the Admin Panel but limited to:

* **Warn**
* **Revoke Warning**

Warn modal includes:

* User ID
* Reason
* Warning number
* Optional period (`7d`, `10h`, `15m` `d=days` `h=hours` `m=minutes`)

***

#### 📣 Summon Option

Only includes **Normal Summon**.\
Prompts for:

* User ID
* Reason

No access to urgent or cancel/end options.
