diff --git a/danding_bot/plugins/group_horse_racing/room_store.py b/danding_bot/plugins/group_horse_racing/room_store.py index 1b51c20..906b19b 100644 --- a/danding_bot/plugins/group_horse_racing/room_store.py +++ b/danding_bot/plugins/group_horse_racing/room_store.py @@ -247,3 +247,7 @@ class RoomStore: json.dumps(getattr(result, 'odds_snapshot', {})), )) await db.commit() + + +# Module-level singleton instance +room_store = RoomStore(Config())