Fire a gold-colored Discord embed whenever QP is awarded during a season (tennis/golf majors via processQualifyingEvent, CS2 Swiss stages via assignCs2EliminationQP) so league members see progress throughout the season rather than only when QP finalize into fantasy placements. - discord.ts: QPEventEntry interface + sendQualifyingPointsUpdateNotification (gold embed with Points Awarded, No Points, and QP Standings sections) - qualifying-points-discord.server.ts: notifyQualifyingPointsUpdate — looks up affected leagues, maps drafted participants to teams/owners, assembles entries, and fires the notification per league webhook - scoring-calculator.ts: call notifyQualifyingPointsUpdate at end of processQualifyingEvent (covers tennis, golf, CS2 Champions bracket) - cs2-major-stage.ts: call notifyQualifyingPointsUpdate at end of assignCs2EliminationQP (covers all CS2 Swiss stages incl. 0-QP exits) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NnJP1NTYXHxL2kbE4fZaD6 |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| match-sync | ||
| simulations | ||
| standings-sync | ||
| bracket-simulator.ts | ||
| brackt.server.ts | ||
| discord.ts | ||
| draft-autostart.ts | ||
| draft-discord.server.ts | ||
| draft-email.server.ts | ||
| ev-calculator.ts | ||
| icm-calculator.ts | ||
| probability-engine.ts | ||
| probability-updater.ts | ||
| qualifying-points-discord.server.ts | ||
| sync-tournament-results.ts | ||