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> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| CLAUDE.md | ||
| DESIGN.md | ||
| dropadd.py | ||
| ilmove.py | ||
| management.py | ||
| trade_channel_tracker.py | ||
| trade_channels.py | ||
| trade.py | ||