|
All checks were successful
Ruff Lint / lint (pull_request) Successful in 13s
Implements Roadmap 2.5b: new /compare command lets players compare two cards of the same type (batter vs batter or pitcher vs pitcher) in a side-by-side embed with directional delta arrows (▲▼═). - cogs/compare.py: new CompareCog with /compare slash command and player_autocomplete on both params; fetches battingcard/pitchingcard data from API; validates type compatibility; sends public embed - tests/test_compare_command.py: 30 unit tests covering _delta_arrow, _is_pitcher, batter/pitcher embed builders, type mismatch error, and edge cases (None stats, tied values) - paperdynasty.py: registers cogs.compare in COGS list Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| command_logic | ||
| gameplay_models | ||
| in_game | ||
| other | ||
| players_refactor | ||
| scouting | ||
| conftest.py | ||
| factory.py | ||
| refractor-integration-test-plan.md | ||
| refractor-preflight.sh | ||
| test_api_calls.py | ||
| test_card_embed_refractor.py | ||
| test_compare_command.py | ||
| test_complete_game_hook.py | ||
| test_dev_tools.py | ||
| test_gauntlet_recap.py | ||
| test_play_locking.py | ||
| test_player_refractor_view.py | ||
| test_post_game_refractor_hook.py | ||
| test_post_game_render.py | ||
| test_refractor_commands.py | ||
| test_refractor_notifs.py | ||
| test_refractor_progress_embed.py | ||
| test_refractor_test_data.py | ||