Major Domo Legacy - Original Discord bot implementation
P2 Tasks completed: - SWAR-002: Update draft.py cap check to use exceeds_salary_cap() - SWAR-003: Update trade validation in transactions.py - SWAR-004: Update first drop/add validation - SWAR-005: Update second drop/add validation - SWAR-006: Update legal command roster validation Changes: - Enhanced helper functions to support both dict and Pydantic models - All error messages now show actual team cap value - Added 4 additional tests for Pydantic model support (21 total) - All salary cap checks now use centralized exceeds_salary_cap() 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .vscode | ||
| api_calls | ||
| cogs | ||
| tests | ||
| .gitignore | ||
| db_calls_gameday.py | ||
| db_calls_gameplay.py | ||
| db_calls.py | ||
| Dockerfile | ||
| exceptions.py | ||
| gameplay_helpers.py | ||
| helpers.py | ||
| LICENSE | ||
| majordomo.py | ||
| pytest.ini | ||
| requirements.txt | ||
| salary_cap_refactor_plan.json | ||