From 5fa69556eb22d27b9e670ecc2839aa85e8883073 Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Wed, 1 Apr 2026 18:49:42 +0800 Subject: [PATCH] Pass config into bot handler registration --- src/bot/orchestrator.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bot/orchestrator.py b/src/bot/orchestrator.py index cc62038e..7658e2be 100644 --- a/src/bot/orchestrator.py +++ b/src/bot/orchestrator.py @@ -26,6 +26,7 @@ def _project_root() -> str: def _register_handlers( bot: Any, + config: dict[str, Any], io_layer: BotIOLayer, guard: CommandGuard, city_service: CityCommandService, @@ -87,6 +88,7 @@ def start_bot() -> None: _register_handlers( bot=bot, + config=config, io_layer=io_layer, guard=guard, city_service=city_service,