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> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| admin.py | ||
| board.py | ||
| CLAUDE.md | ||
| list.py | ||
| picks.py | ||
| status.py | ||