Major Domo v2 - Discord bot for Strat-o-Matic Baseball Association
Added weighted dice rolling system for scouting cards based on card type. Features: - New /scout command with card_type parameter (batter or pitcher) - Weighted first d6 roll: - Batter: Always rolls 1-3 on first d6 - Pitcher: Always rolls 4-6 on first d6 - Remaining dice (2d6 and 1d20) roll normally - Uses same embed formatting as /ab command - Comprehensive test coverage (4 new tests) Implementation: - Added _roll_weighted_scout_dice() helper method - Reuses existing dice rolling and embed creation logic - Follows established command patterns with @logged_command decorator Tests: - test_weighted_scout_dice_batter - Verifies batter weighting (20 iterations) - test_weighted_scout_dice_pitcher - Verifies pitcher weighting (20 iterations) - test_scout_command_batter - Tests batter slash command - test_scout_command_pitcher - Tests pitcher slash command All 34 dice command tests pass. |
||
|---|---|---|
| api | ||
| commands | ||
| models | ||
| services | ||
| tasks | ||
| tests | ||
| utils | ||
| views | ||
| .gitignore | ||
| bot.py | ||
| config.py | ||
| constants.py | ||
| exceptions.py | ||
| PRE_LAUNCH_ROADMAP.md | ||
| requirements.txt | ||
| test_real_data.py | ||