From 9ac0a13937442f930ee31960b0d8e32e4c540a9b Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Tue, 17 Mar 2026 19:18:37 +0800 Subject: [PATCH] Assess PolyCop copytrade bot info --- frontend/components/account/AccountCenter.tsx | 31 +++++++++++++++++++ src/bot/io_layer.py | 2 ++ 2 files changed, 33 insertions(+) diff --git a/frontend/components/account/AccountCenter.tsx b/frontend/components/account/AccountCenter.tsx index 6c04684a..798442c3 100644 --- a/frontend/components/account/AccountCenter.tsx +++ b/frontend/components/account/AccountCenter.tsx @@ -186,6 +186,9 @@ const TELEGRAM_GROUP_URL = String( process.env.NEXT_PUBLIC_TELEGRAM_GROUP_URL || "https://t.me/+nMG7SjziUKYyZmM1", ).trim(); +const TELEGRAM_BOT_URL = String( + process.env.NEXT_PUBLIC_TELEGRAM_BOT_URL || "https://t.me/WeatherQuant_bot", +).trim(); const SUBSCRIPTION_HELP_HREF = "/subscription-help"; let walletConnectProviderCache: EvmProvider | null = null; @@ -530,6 +533,10 @@ export function AccountCenter() { telegramHint: isEn ? "Send the command below to the polyweather bot to sync notifications and access." : "将下方命令发送给polyweather机器人,实现全平台气象推送与权限同步。", + telegramBotLink: isEn + ? "Open Bot (@WeatherQuant_bot)" + : "打开机器人 (@WeatherQuant_bot)", + telegramGroupLink: isEn ? "Join Telegram Group" : "加入 Telegram 群组", copyCommand: isEn ? "Copy command" : "复制命令", paymentMgmt: isEn ? "Payment Management" : "支付管理", paymentToken: isEn ? "Payment Token" : "支付币种", @@ -1972,6 +1979,30 @@ export function AccountCenter() {

{copy.telegramHint}

+
+ {TELEGRAM_BOT_URL ? ( + + {copy.telegramBotLink} + + + ) : null} + {TELEGRAM_GROUP_URL ? ( + + {copy.telegramGroupLink} + + + ) : null} +
{bindCommand} diff --git a/src/bot/io_layer.py b/src/bot/io_layer.py index 3f150d5b..843f766f 100644 --- a/src/bot/io_layer.py +++ b/src/bot/io_layer.py @@ -152,6 +152,8 @@ class BotIOLayer: "/diag - 查看 Bot 启动诊断\n\n" "/bind - 绑定 Supabase 账号(可选)\n" "/unbind - 解除当前 Telegram 与网页账号绑定\n\n" + "🔗 机器人: @WeatherQuant_bot\n" + "👥 社群: 加入 Telegram 群组\n\n" "🔐 /city 与 /deb 仅限官方群成员使用。\n\n" "示例: /city 伦敦/pwcity 伦敦\n" f"💡 提示: 每日签到(有效发言满 {MESSAGE_MIN_LENGTH} 字)获得 {MESSAGE_POINTS} 积分,"