Major Domo Legacy - Original Discord bot implementation
- Add DEFAULT_SALARY_CAP (32.0) and SALARY_CAP_TOLERANCE (0.001) constants - Add get_team_salary_cap() for retrieving team cap with fallback - Add exceeds_salary_cap() for centralized cap validation - Add 17 unit tests covering all edge cases - Update refactor plan marking P1 tasks complete These helpers will be used by P2 tasks to replace hardcoded 32.0/32.001 values in draft.py and transactions.py 🤖 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 | ||