major-domo-v2/commands
Cal Corum 58043c996d fix: auto-detect player roster type in trade commands instead of assuming ML
/trade add-player hardcoded from_roster=MAJOR_LEAGUE for all players,
causing incorrect transaction records when trading MiL/IL players. This
cascaded into false roster validation errors for other teams' /dropadd
commands because pre-existing transaction processing misidentified which
roster a player was leaving from.

Now looks up the player's actual team and calls roster_type() to determine
the correct source roster. Same fix applied to /trade supplementary.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 23:29:01 -06:00
..
admin fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
custom_commands fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
dev Add dev-only loaded dice command for testing /ab rolls 2026-01-07 22:45:01 -06:00
dice fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
draft fix: batch quick-wins — 4 issues resolved (closes #37, #27, #25, #38) 2026-02-20 11:48:16 -06:00
examples fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
gameplay fix: scorebug stale data, win probability parsing, and read-failure tolerance (closes #39, #40) 2026-02-20 14:14:23 -06:00
help fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
injuries fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
league fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
players Fix /player autocomplete timeout by using current season only 2026-02-05 20:45:09 -06:00
profile fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
soak fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
spoiler Refactored listener logic and added SpoilerListener 2025-10-22 14:59:19 -05:00
teams fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
transactions fix: auto-detect player roster type in trade commands instead of assuming ML 2026-03-01 23:29:01 -06:00
utilities fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
voice Consolidate season config variables to single source (v2.21.0) 2025-12-02 16:12:16 -06:00
__init__.py CLAUDE: Initial commit for discord-app-v2 rebuild 2025-08-15 00:04:50 -05:00
CLAUDE.md CLAUDE: Add comprehensive CLAUDE.md documentation files for AI agent guidance 2025-10-20 20:30:07 -05:00