Discord-Raid-bot/cogs
LE BERRE Mickael acabc7d409
All checks were successful
Deploy Bot on NAS / deploy (push) Successful in 26s
feat: rebrand RTF→TEA, clan detection via Discord roles
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
..
guide.py feat: rebrand RTF→TEA, clan detection via Discord roles 2026-05-18 10:38:01 +02:00
mercy.py nettoyage et standardisation 2025-08-26 19:35:54 +02:00
mystats.py changement afficage not user_data de id a displayname 2025-08-28 15:55:08 +02:00
pbchimera.py nettoyage et standardisation 2025-08-26 19:35:54 +02:00
pbcvc.py nettoyage et standardisation 2025-08-26 19:35:54 +02:00
pbhydra.py nettoyage et standardisation 2025-08-26 19:35:54 +02:00
top10.py feat: rebrand RTF→TEA, clan detection via Discord roles 2026-05-18 10:38:01 +02:00