paper-dynasty-discord/command_logic
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 fix: add locked_play context manager to prevent stuck play locks 2026-02-10 21:54:44 -06:00
logic_gameplay.py feat: include refractor card image in tier-up notification embed (#144) 2026-04-08 09:38:43 -05:00
play_context.py fix: add locked_play context manager to prevent stuck play locks 2026-02-10 21:54:44 -06:00