From d3b5499896040f7e3716454cfaa29c6dcb6714d6 Mon Sep 17 00:00:00 2001 From: "Mr.Xia" <1424473282@qq.com> Date: Sat, 2 May 2026 16:06:04 +0800 Subject: [PATCH] fix: add room_store singleton instance --- danding_bot/plugins/group_horse_racing/room_store.py | 4 ++++ 1 file changed, 4 insertions(+) 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())