Commit graph

12 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
5adccfa404 changement afficage not user_data de id a displayname
Some checks failed
Deploy Bot on NAS / deploy (push) Failing after 0s
2025-08-28 15:55:08 +02:00
e88d6245d0 Fix encodage 2025-08-28 14:24:06 +02:00
035027a593 ajout ci/cd 2025-08-28 13:56:21 +02:00
d44eb03844 ajout ci/cd 2025-08-28 13:53:21 +02:00
2276b98227 fix du ciblage de l'user par id au lieu de displayname 2025-08-28 12:25:48 +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
d1540c816d Modif calcul et affichage mercy 2025-08-25 18:21:50 +02:00
c2f23a7e73 passage des fonctions en async 2025-08-25 18:11:22 +02:00
1b50a955c8 Added mercy counter 2025-08-23 11:23:47 +02:00
mleberre
768c4bc3f3 Refactor: ajout des cogs et handlers 2025-08-22 15:25:34 +02:00