Commit graph

4 commits

Author SHA1 Message Date
LE BERRE Mickael
acabc7d409 feat: rebrand RTF→TEA, clan detection via Discord roles
All checks were successful
Deploy Bot on NAS / deploy (push) Successful in 26s
Replaces display-name prefix parsing ([RTF]/[RTFC]/[RTFR]) with
Discord role-based clan detection (TEAI/TEAF/TEAC/TEACO).

- config: new CLAN_CONFIG with 4 TEA clans, CLAN_ROLE_IDS, CLAN_MIGRATION
- helpers: get_user_clan() replaced by get_clan_from_member()
- DatabaseManager: adds clan column on startup, auto-migrates existing
  records from old username prefixes, filters leaderboard by clan column
- pb_handler: detects clan from roles on submission, passes it to DB
- leaderboard_handler: reads clan from DB column instead of username
- top10: new commands !teai*/!teaf*/!teac*/!teaco* (removes !rtf*)
- guide: updated command list and bot title

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-18 10:38:01 +02:00
1b02dd8b22 nettoyage et standardisation 2025-08-26 19:35:54 +02:00
4533180ef0 syncro modif prod 2025-08-26 15:02:34 +02:00
mleberre
768c4bc3f3 Refactor: ajout des cogs et handlers 2025-08-22 15:25:34 +02:00