major-domo-v2/views
Cal Corum 174ce4474d fix: use per-user dict for _checked_teams to prevent race condition (#116)
Replace single `_checked_team: Optional[Team]` with `_checked_teams: dict[int, Team]`
keyed by `interaction.user.id`. The previous single field was shared across all
concurrent interaction tasks, allowing User B's interaction_check to overwrite
`_checked_team` before User A's button handler read it — crediting the wrong team.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 19:46:42 +00:00
..
__init__.py CLAUDE: SUCCESSFUL STARTUP - Discord Bot v2.0 fully operational 2025-08-16 07:36:47 -05:00
base.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
CLAUDE.md CLAUDE: Add comprehensive CLAUDE.md documentation files for AI agent guidance 2025-10-20 20:30:07 -05:00
common.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
confirmations.py CLAUDE: Add comprehensive scorecard submission system 2025-10-16 00:21:32 -05:00
custom_commands.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
draft_views.py refactor: move 42 unnecessary lazy imports to top-level across codebase 2026-03-02 13:35:23 -06:00
embeds.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
help_commands.py refactor: move 42 unnecessary lazy imports to top-level across codebase 2026-03-02 13:35:23 -06:00
modals.py refactor: move 42 unnecessary lazy imports to top-level across codebase 2026-03-02 13:35:23 -06:00
players.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
trade_embed.py fix: use per-user dict for _checked_teams to prevent race condition (#116) 2026-03-31 19:46:42 +00:00
transaction_embed.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00