Major Domo v2 - Discord bot for Strat-o-Matic Baseball Association
Implemented comprehensive /ilmove command system for immediate roster changes (IL moves, activations, etc.) that execute instantly for the current week, complementing the existing /dropadd system which schedules moves for next week. New Features: - /ilmove command: Interactive transaction builder for THIS week (immediate execution) - /clearilmove command: Clear current IL move transaction builder - Dual-mode transaction system: Scheduled (/dropadd) vs Immediate (/ilmove) Key Fixes: - Organizational team matching: Minor League players (WVMiL) now correctly recognized as valid targets for their Major League organization (WV) - Transaction POST format: Fixed to use correct batch API format with count/moves structure - RosterType to team affiliate mapping: Moves to IL now correctly assign players to WVIL instead of WV, and moves from MiL correctly reference WVMiL as source team - Player team updates: Added update_player_team() method for immediate team assignments Technical Changes: - commands/transactions/ilmove.py: New command with organizational validation - commands/transactions/__init__.py: Register ILMoveCommands cog - services/transaction_service.py: create_transaction_batch() with correct batch format - services/player_service.py: update_player_team() for immediate updates - services/transaction_builder.py: RosterType affiliate resolution with async team lookups - views/transaction_embed.py: Dual-mode support with context-aware instructions Code Reuse: - 95% code sharing between /dropadd and /ilmove via shared TransactionBuilder - Same validation, UI, and move tracking - only submission differs - Context-aware command_name parameter for dynamic UI instructions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .gitlab | ||
| .vscode | ||
| api | ||
| commands | ||
| models | ||
| services | ||
| tasks | ||
| tests | ||
| utils | ||
| views | ||
| .dockerignore | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| .mcp.json | ||
| bot.py | ||
| BUILD_AND_PUSH.md | ||
| build-and-push.sh | ||
| COMMAND_LIST.md | ||
| config.py | ||
| docker-compose.dev.yml | ||
| docker-compose.yml | ||
| DOCKER.md | ||
| Dockerfile | ||
| Dockerfile.versioned | ||
| exceptions.py | ||
| PRE_LAUNCH_ROADMAP.md | ||
| pyrightconfig.json | ||
| requirements.txt | ||
| test_real_data.py | ||