📜 Rules
Description
File: règlement.py
Rules panel system with an acceptance button and automatic role assignment. Supports several named rule sets per server.
🚀 In short
- Create one or more rules panels with a customisable embed.
- Each panel contains an acceptance button that members click to get a role.
- The system is persistent: the button works even after the bot restarts.
🧩 The commands
| Command | Description |
|---|---|
/règlement setup_roster | Create or edit a rule set (opens an editing modal). |
/règlement update_rules | Edit an existing rule set (embed + button). |
/règlement send_rules | (Re)send a rule set to a text channel. |
⚙️ Modal fields
| Field | Description |
|---|---|
| Description | Main text of the embed (Markdown supported). |
| Image URL | Main image displayed at the bottom of the embed. |
| Thumbnail URL | Logo/thumbnail at the top right. |
| Footer | Text at the bottom of the embed. |
| Colour | Format #RRGGBB, 0xRRGGBB or a decimal integer. |
Tip
Type clear in an image/footer field to remove it.
📋 Dashboard
The module can also be configured through the web dashboard → Community section → Rules.