๐ 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:
- A menu displays all existing sections
- Select the desired section to edit
- 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:
-
Click the Panel Button
- Opens a section selector menu
- Only shows sections that the user has permission to manage
-
Select a Section
- Choose the section you want to manage from the dropdown
-
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)
-
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)
- A menu displays all section roles with status indicators:
๐ 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