major-domo-v2/commands/draft
Cal Corum 43d166e417 CLAUDE: Fix draft command argument order and field name bugs
Two critical bugs in draft picks command:

1. Swapped arguments to get_team_by_owner():
   - Was passing (season, owner_id)
   - Should be (owner_id, season)
   - This caused "Not a GM" error for all users

2. Using old field name ping_channel_id:
   - Model was updated to use ping_channel
   - Draft card posting still used old field name

Fixes:
- commands/draft/picks.py:136-139: Corrected argument order
- commands/draft/picks.py:258-261: Updated to use ping_channel

This resolves the "Not a GM" error when running /draft command.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-24 22:56:51 -05:00
..
__init__.py CLAUDE: Add complete draft command suite 2025-10-24 22:25:30 -05:00
admin.py CLAUDE: Add complete draft command suite 2025-10-24 22:25:30 -05:00
board.py CLAUDE: Add complete draft command suite 2025-10-24 22:25:30 -05:00
CLAUDE.md CLAUDE: Add comprehensive draft system documentation 2025-10-24 15:16:39 -05:00
list.py CLAUDE: Add complete draft command suite 2025-10-24 22:25:30 -05:00
picks.py CLAUDE: Fix draft command argument order and field name bugs 2025-10-24 22:56:51 -05:00
status.py CLAUDE: Add complete draft command suite 2025-10-24 22:25:30 -05:00