fix(rules): show the rules field with a save button and edit the message

The rules lived in a card of their own that never showed up next to the
settings, so the section read as an empty toggle nobody could fill in. The
markdown now renders as a real field with an "Enregistrer" button, and
saving edits the message already pinned instead of deleting it and
posting a new one: same link, same place, pin kept.
This commit is contained in:
BlackAngelTV committed 2026-09-25 21:14:00 +02:00
1 parent 22e9723700
commit e6ce594b34
7 files changed
+156 -168

No files matched your search

+1 -1
View File
@@ -128,7 +128,7 @@ Modèle complet : [`.env.example`](.env.example). Valeurs par défaut entre pare
| Variable | Usage |
| --- | --- |
| `CHANNEL_WELCOME_ID` | Messages de bienvenue |
| `CHANNEL_RULES_ID` | Règlement : lien envoyé aux nouveaux, et salon où le tableau de bord publie le message épinglé |
| `CHANNEL_RULES_ID` | Règlement : lien envoyé aux nouveaux, et salon où le tableau de bord publie le message épinglé (les enregistrements suivants le modifient) |
| `CHANNEL_ANNOUNCEMENTS_ID` | Annonces FWS |
| `CHANNEL_LOGS_ID` | Logs fonctionnels |
| `CHANNEL_MOD_LOGS_ID` | Logs de modération |