major-domo-v2/commands/draft
Cal Corum fb78b4b8c6 CLAUDE: Add draft period restriction to interactive draft commands
Restrict interactive draft commands to offseason only (week <= 0) while keeping read-only commands available year-round.

Changes:
- Add @requires_draft_period decorator to utils/decorators.py
- Apply decorator to /draft and all /draft-list-* commands
- Keep /draft-board, /draft-status, /draft-on-clock unrestricted
- Update commands/draft/CLAUDE.md with restriction documentation

Technical details:
- Decorator checks league_service.get_current_state().week <= 0
- Shows user-friendly error: "Draft commands are only available in the offseason"
- Follows existing @logged_command decorator pattern
- No Discord command cache delays - instant restriction

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-25 20:29:16 -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 draft period restriction to interactive draft commands 2025-10-25 20:29:16 -05:00
list.py CLAUDE: Add draft period restriction to interactive draft commands 2025-10-25 20:29:16 -05:00
picks.py CLAUDE: Add draft period restriction to interactive draft commands 2025-10-25 20:29:16 -05:00
status.py CLAUDE: Add complete draft command suite 2025-10-24 22:25:30 -05:00