Update core logic, Telegram bot, browser automation, and email services.

This commit is contained in:
2026-01-18 05:57:52 +08:00
parent 7e92e12c79
commit 83a9e38aa7
4 changed files with 60 additions and 4 deletions

View File

@@ -43,6 +43,7 @@ from config import (
S2A_GROUP_NAMES,
S2A_GROUP_IDS,
S2A_ADMIN_KEY,
BROWSER_RANDOM_FINGERPRINT,
)
from utils import load_team_tracker, get_all_incomplete_accounts
from bot_notifier import BotNotifier, set_notifier, progress_finish
@@ -365,6 +366,9 @@ class ProvisionerBot:
# Owner 入库状态
include_owners_status = "✅ 已开启" if INCLUDE_TEAM_OWNERS else "❌ 未开启"
# 随机指纹状态
fingerprint_status = "✅ 已开启" if BROWSER_RANDOM_FINGERPRINT else "❌ 未开启"
lines = [
"<b>⚙️ 系统配置</b>",
@@ -377,6 +381,9 @@ class ProvisionerBot:
f" 地址: {auth_url}",
f" Owner 入库: {include_owners_status}",
"",
"<b>🌐 浏览器</b>",
f" 随机指纹: {fingerprint_status}",
"",
"<b>👥 账号设置</b>",
f" 每 Team 账号数: {ACCOUNTS_PER_TEAM}",
f" team.json 账号: {len(TEAMS)}",
@@ -385,6 +392,7 @@ class ProvisionerBot:
f" 状态: {proxy_info}",
"",
"<b>💡 提示:</b>",
"/fingerprint - 切换随机指纹",
"/include_owners - 切换 Owner 入库",
"/s2a_config - 配置 S2A 参数",
]
@@ -500,6 +508,7 @@ class ProvisionerBot:
AUTH_PROVIDER as new_auth_provider,
INCLUDE_TEAM_OWNERS as new_include_owners,
ACCOUNTS_PER_TEAM as new_accounts_per_team,
BROWSER_RANDOM_FINGERPRINT as new_random_fingerprint,
)
lines = [
@@ -512,6 +521,7 @@ class ProvisionerBot:
f" 邮箱服务: {new_email_provider}",
f" 授权服务: {new_auth_provider}",
f" Owner 入库: {'' if new_include_owners else ''}",
f" 随机指纹: {'' if new_random_fingerprint else ''}",
f" 每 Team 账号: {new_accounts_per_team}",
]