paper-dynasty-discord/cogs
Cal Corum 89801e1d42 Fix circular import by moving play lock functions to separate module
HOTFIX: Production bot failed to start due to circular import.

Root cause: utilities/dropdown.py importing from command_logic/logic_gameplay.py
while logic_gameplay.py imports from utilities/dropdown.py.

Solution: Created play_lock.py as standalone module containing:
- release_play_lock()
- safe_play_lock()

Both modules now import from play_lock.py instead of each other.

Error message:
  ImportError: cannot import name 'release_play_lock' from partially
  initialized module 'command_logic.logic_gameplay' (most likely due
  to a circular import)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-04 09:33:37 -06:00
..
economy_new Fix pack type grouping logic in packs display 2026-01-08 14:22:06 -06:00
players_new CLAUDE: Add news-ticker message when gauntlet runs end with 2 losses 2025-11-10 09:17:55 -06:00
admins.py Catchup commit 2025-07-22 09:22:19 -05:00
economy.py Normalize Player.franchise queries to use Team.sname 2026-01-07 12:01:00 -06:00
gameplay_legacy.py Add responders check to dropdowns 2024-12-27 22:33:25 -06:00
gameplay.py Fix circular import by moving play lock functions to separate module 2026-02-04 09:33:37 -06:00
owner.py New sync method 2024-12-18 09:59:39 -06:00
players.py Fix slash command decorators using wrong prefix command checks 2025-11-17 07:29:08 -06:00
players.py.backup Cogs to Packages Groundwork 2025-08-17 08:46:55 -05:00