完成bot基础开发

This commit is contained in:
dela
2026-01-06 12:06:12 +08:00
parent b1b2b4827b
commit 919a9fff83
11 changed files with 643 additions and 4 deletions

11
checker/scripts/start_bot.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
# 启动 Telegram Bot
# 检查是否安装了 python-telegram-bot
if ! python -c "import telegram" &> /dev/null; then
echo "📦 安装 Bot 依赖..."
uv pip install "python-telegram-bot>=20.0"
fi
echo "🚀 启动 Checker Bot..."
python -m checker.bot.main