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

# Role Manager System Interactions

> Explore all interactive components in the Role Manager System bot, including slash commands, modals, and the role management panel.

## 🚀 Slash Commands

### `/newsection`

Create a new role management section.

**Modal Fields:**

* **Section Name** — Name of the section (text input)
* **Log Channel** — Channel where role changes will be logged (channel select menu - can select 1 log chanel per section)
* **Manager Roles** — Roles that can manage this section (role select menu - can select up to 10 manager roles per section)
* **Section Roles** — Roles that belong to this section (role select menu - can select up to 25 section roles per section)

***

### `/editsection`

Edit an existing section.

**Process:**

1. A menu displays all existing sections
2. Select the desired section to edit
3. The section information is displayed with 4 action buttons:

#### **Edit Section Name**

* Allows you to change the section's name

#### **Edit Manager Roles**

* Displays current manager roles
* Selecting an existing manager role will **remove** it
* You can add new manager roles by selecting them

#### **Edit Section Roles**

* Displays current section roles
* Selecting an existing section role will **remove** it
* You can add new section roles by selecting them

#### **Delete Section**

* Permanently removes the section and all its configuration

***

### `/sendpanel`

Sends the Role Manager panel to the current channel.

The panel can then be used by section managers to manage roles within their assigned sections.

***

## 🎛️ Role Manager Panel

The panel provides an interactive interface for section managers to add or remove roles from users.

### **Panel Workflow:**

1. **Click the Panel Button**
   * Opens a section selector menu
   * Only shows sections that the user has permission to manage

2. **Select a Section**
   * Choose the section you want to manage from the dropdown

3. **Select a User**
   * Use the **User Select Menu** to choose a user, OR
   * Click the button under the menu to manually enter a **User ID** (opens a modal asking for the user ID)

4. **Manage Section Roles**
   * A menu displays all section roles with status indicators:
     * **✅ RoleName** — User doesn't have this role (selecting **adds** it)
     * **❌ RoleName** — User already has this role (selecting **removes** it)

***

## 📝 Notes

* Section managers can only see and manage sections where they have manager permissions
* Role changes are logged to the section's designated log channel
* Managers can only affect roles assigned to their section, ensuring secure and controlled role management
