paper-dynasty-discord/helpers
Cal Corum 25b63b407f
All checks were successful
Ruff Lint / lint (pull_request) Successful in 21s
feat: include refractor card image in tier-up notification embed (#144)
Closes #144

- build_tier_up_embed() accepts optional image_url and calls set_image() when provided
- notify_tier_completion() accepts optional image_url and passes it through
- _trigger_variant_renders() now captures the render response image_url per player and returns a player_id->image_url dict
- _run_post_game_refractor_hook() triggers renders first (to obtain image URLs), then sends notifications with card art included
- Updated test_post_game_refractor_hook.py to reflect new render-before-notify ordering and image_url kwarg in notify calls

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 09:38:43 -05: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 fix: guard GUILD_ID env var cast against missing/invalid value (#26) 2026-03-10 09:37:34 -05:00
main.py Merge branch 'main' into issue/101-perf-parallelize-scout-opportunity-creation-and-re 2026-04-08 10:26:10 +00:00
random_content.py Cogs to Packages Groundwork 2025-08-17 08:46:55 -05:00
refractor_constants.py refactor: extract TIER_NAMES/TIER_COLORS to shared constants module (#146) 2026-04-08 00:03:46 -05:00
refractor_notifs.py feat: include refractor card image in tier-up notification embed (#144) 2026-04-08 09:38:43 -05:00
scouting.py feat: add buy-scout-token option when daily limit exceeded 2026-03-09 13:12:35 -05:00
search_utils.py Cogs to Packages Groundwork 2025-08-17 08:46:55 -05:00
utils.py fix: update owner_only to use Cal's correct Discord ID 2026-03-09 13:22:58 +00:00