paper-dynasty-discord/helpers
Cal Corum 755f74be92 fix: Address PR review findings — two bugs and cleanup
- Fix int_timestamp() no-arg path returning seconds instead of
  milliseconds, which would silently break the daily scout token cap
  against the real API
- Acknowledge double-click interactions with ephemeral message instead
  of silently returning (Discord requires all interactions to be acked)
- Reorder scout flow: create card copy before consuming token so a
  failure doesn't cost the player a token for nothing
- Move build_scouted_card_list import to top of scout_view.py
- Remove unused asyncio import from helpers/scouting.py
- Fix footer text inconsistency ("One scout per player" everywhere)
- Update tests for new operation order and double-click behavior

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 fix: Address PR review findings — two bugs and cleanup 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 fix: Address PR review findings — two bugs and cleanup 2026-03-09 13:22:58 +00:00