major-domo-v2/commands
Cal Corum 9aba3074c6 Add multi-GM trade access via dual-key indexing
Previously, only the trade initiator could access the trade builder
because lookups used their Discord user ID. Now any GM whose team
participates in a trade can add players, view, and manage the trade.

Changes:
- Add _team_to_trade_key secondary index mapping team IDs to trade keys
- Add get_trade_builder_by_team() for team-based lookups
- Add clear_trade_builder_by_team() for team-based clearing
- Update add_team/remove_team to maintain secondary index
- Refactor 5 trade commands to use team-based lookups
- Add 9 new tests for multi-GM access functionality

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 10:36:48 -06:00
..
admin Consolidate season config variables to single source (v2.21.0) 2025-12-02 16:12:16 -06:00
custom_commands Fix /cc-create command creating twice instead of waiting for confirmation 2025-11-14 08:28:45 -06:00
dice CLAUDE: Refactor dice rolling into reusable utility module and add /d20 command 2025-10-29 01:15:11 -05:00
draft Consolidate season config variables to single source (v2.21.0) 2025-12-02 16:12:16 -06:00
examples Consolidate season config variables to single source (v2.21.0) 2025-12-02 16:12:16 -06:00
gameplay CLAUDE: Add flexible permission system for multi-server support 2025-11-06 11:29:29 -06:00
help CLAUDE: Add flexible permission system for multi-server support 2025-11-06 11:29:29 -06:00
injuries CLAUDE: Add flexible permission system for multi-server support 2025-11-06 11:29:29 -06:00
league Consolidate season config variables to single source (v2.21.0) 2025-12-02 16:12:16 -06:00
players Consolidate season config variables to single source (v2.21.0) 2025-12-02 16:12:16 -06:00
profile Consolidate season config variables to single source (v2.21.0) 2025-12-02 16:12:16 -06:00
soak Refactored listener logic and added SpoilerListener 2025-10-22 14:59:19 -05:00
spoiler Refactored listener logic and added SpoilerListener 2025-10-22 14:59:19 -05:00
teams Consolidate season config variables to single source (v2.21.0) 2025-12-02 16:12:16 -06:00
transactions Add multi-GM trade access via dual-key indexing 2025-12-04 10:36:48 -06:00
utilities CLAUDE: Add flexible permission system for multi-server support 2025-11-06 11:29:29 -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