paper-dynasty-discord/helpers
Cal Corum 2d5bd86d52 feat: Add Scouting feature (Wonder Pick-style social pack opening)
When a player opens a pack, a scout opportunity is posted to #pack-openings
with face-down card buttons. Other players can blind-pick one card using
daily scout tokens (2/day), receiving a copy. The opener keeps all cards.

New files:
- discord_ui/scout_view.py: ScoutView with dynamic buttons and claim logic
- helpers/scouting.py: create_scout_opportunity() and embed builder
- cogs/economy_new/scouting.py: /scout-tokens command and cleanup task

Modified:
- helpers/main.py: Hook into open_st_pr_packs() after display_cards()
- paperdynasty.py: Register scouting cog

Requires new API endpoints in paper-dynasty-database (scout_opportunities).
Tracks #44.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 13:22:58 +00:00
..
__init__.py feat: Add Scouting feature (Wonder Pick-style social pack opening) 2026-03-09 13:22:58 +00:00
constants.py Normalize Player.franchise queries to use Team.sname 2026-01-07 12:01:00 -06:00
discord_utils.py Cogs to Packages Groundwork 2025-08-17 08:46:55 -05:00
main.py feat: Add Scouting feature (Wonder Pick-style social pack opening) 2026-03-09 13:22:58 +00:00
random_content.py Cogs to Packages Groundwork 2025-08-17 08:46:55 -05:00
scouting.py feat: Add Scouting feature (Wonder Pick-style social pack opening) 2026-03-09 13:22:58 +00:00
search_utils.py Cogs to Packages Groundwork 2025-08-17 08:46:55 -05:00
utils.py CLAUDE: Fix get_roster_sheet() to handle both dict and Team objects 2025-11-10 09:11:37 -06:00