Skip to main content

📜 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​

CommandDescription
/règlement setup_rosterCreate or edit a rule set (opens an editing modal).
/règlement update_rulesEdit an existing rule set (embed + button).
/règlement send_rules(Re)send a rule set to a text channel.

⚙️ Modal fields​

FieldDescription
DescriptionMain text of the embed (Markdown supported).
Image URLMain image displayed at the bottom of the embed.
Thumbnail URLLogo/thumbnail at the top right.
FooterText at the bottom of the embed.
ColourFormat #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.