Aller au contenu principal

🎭 AutoRoleSystem

Description

File: auto-rôle.py (Internal: AutoRoleSystem)

Advanced self-assignable role system using Embed Panels and Select Menus.

Philosophy

How it works
  • Immediate Action: Roles are added immediately upon selection in the dropdown.
  • Smart Removal: If a user selects a role they already have, the bot interprets it as a request to remove the role and asks for confirmation.
  • Persistence: Panels and selectors are stored in SQLite and survive bot restarts.

Commands

Panel Management

CommandDescription
/autorole panel_createStart a wizard (Modal) to design a new Embed.
/autorole panel_updateEdit an existing panel's appearance.
/autorole panel_sendSend a specific panel to a channel.
/autorole panel_listList all created panels.

Selector Configuration

CommandDescription
/autorole selector_addAttach a dropdown menu to a panel.
/autorole selector_removeDelete a dropdown.
/autorole option_addAdd a role choice to a selector.
/autorole option_removeRemove a role choice.

Debug

CommandDescription
/autorole debug_panelView raw configuration of a panel.
/autorole option_listView all options in a selector.