Major Domo Legacy - Original Discord bot implementation
Go to file
Cal Corum 5496c96b32 Standardize sWAR display formatting to 2 decimal places
Fixed 10 locations with inconsistent WAR formatting:

cogs/transactions.py:
- Line 343: Trade player display
- Line 910: Week transaction display
- Lines 1296, 1783, 2084: Roster error displays (now >5.2f)
- Lines 2166, 2175: Guaranteed/frozen move displays
- Line 2303: MiL demotion display

cogs/draft.py:
- Line 218: Core players display

cogs/players.py:
- Line 2859: Player update display (both old and new values)

All user-facing sWAR values now consistently use :.2f format.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-09 20:16:47 -06:00
.vscode DraftPick, Player, Team, and DraftData dataclasses added along with tests 2025-06-07 23:49:13 -05:00
api_calls Add salary_cap field to Team model 2025-12-09 16:53:27 -06:00
cogs Standardize sWAR display formatting to 2 decimal places 2025-12-09 20:16:47 -06:00
tests Add comprehensive edge case and integration tests for salary cap 2025-12-09 17:19:27 -06:00
.gitignore Post Draft fixes for season 12 2025-07-12 23:15:00 -05:00
db_calls_gameday.py Migrated to rotating log handler 2024-12-11 14:52:28 -06:00
db_calls_gameplay.py Migrated to rotating log handler 2024-12-11 14:52:28 -06:00
db_calls.py Post Draft fixes for season 12 2025-07-12 23:15:00 -05:00
Dockerfile Parameterize DB location 2025-06-07 23:47:22 -05:00
exceptions.py Parameterize DB location 2025-06-07 23:47:22 -05:00
gameplay_helpers.py Initial commit 2023-02-19 21:22:57 -06:00
helpers.py Replace hardcoded salary cap with dynamic Team.salary_cap 2025-12-09 17:14:17 -06:00
LICENSE Initial commit 2023-02-19 20:55:37 -06:00
majordomo.py Migrated to rotating log handler 2024-12-11 14:52:28 -06:00
pytest.ini DraftPick, Player, Team, and DraftData dataclasses added along with tests 2025-06-07 23:49:13 -05:00
requirements.txt Update discord requirement to PyPi 2023-02-26 18:13:14 -06:00
salary_cap_refactor_plan.json Replace hardcoded salary cap with dynamic Team.salary_cap 2025-12-09 17:14:17 -06:00