paper-dynasty-discord/discord_ui
Cal Corum da55cbe4d4
All checks were successful
Build Docker Image / build (push) Successful in 1m17s
feat: limit scouting to Standard/Premium packs, simplify scout view
- Add SCOUTABLE_PACK_TYPES env var (default: Standard,Premium) to control
  which pack types offer scout opportunities
- Unify embed construction into build_scout_embed() — removes 3 near-duplicate
  embed builders across scout_view.py and scouting.py
- Replace manual total_scouts counter with derived property from claims dict
- Remove redundant db_get("current") API call per scout click — use PD_SEASON
- Remove duplicate expiry computation in create_scout_opportunity
- Move send_to_channel to top-level import, remove redundant local import
- Update tests to match simplified code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 21:12:46 -06:00
..
__init__.py refactor: Consolidate scouting utilities, add test suite, use Discord timestamps 2026-03-05 03:04:53 +00:00
confirmations.py Catchup commit 2025-07-22 09:22:19 -05:00
dropdowns.py Catchup commit 2025-07-22 09:22:19 -05:00
pagination.py Catchup commit 2025-07-22 09:22:19 -05:00
scout_view.py feat: limit scouting to Standard/Premium packs, simplify scout view 2026-03-06 21:12:46 -06:00
selectors.py Normalize Player.franchise queries to use Team.sname 2026-01-07 12:01:00 -06:00