feat: Introduce core bot components, on-chain wallet watchers, Telegram notifications, and configuration management.

This commit is contained in:
2569718930@qq.com
2026-03-13 19:24:05 +08:00
parent edf2a37976
commit cd0a5d519f
11 changed files with 214 additions and 76 deletions
+2 -1
View File
@@ -16,6 +16,7 @@ from src.bot.io_layer import BotIOLayer
from src.bot.runtime_coordinator import StartupCoordinator
from src.bot.services.city_command_service import CityCommandService
from src.bot.services.deb_command_service import DebCommandService
from src.utils.telegram_chat_ids import get_telegram_chat_ids_from_env
def _project_root() -> str:
@@ -68,7 +69,7 @@ def start_bot() -> None:
config=config,
command_access_mode="group_member_only",
protected_commands=["/city", "/deb"],
required_group_chat_id=str(os.getenv("TELEGRAM_CHAT_ID") or "").strip(),
required_group_chat_id=",".join(get_telegram_chat_ids_from_env()),
)
_register_handlers(