diff --git a/internal/service/telegram_bot.go b/internal/service/telegram_bot.go index 8874899..5a9af90 100644 --- a/internal/service/telegram_bot.go +++ b/internal/service/telegram_bot.go @@ -212,7 +212,7 @@ func (s *TelegramBotService) cmdStart(ctx context.Context, msg *TelegramMessage, } channel := s.findChannelForMessage(ctx, msg) if !s.telegramUserCanBind(ctx, channel, msg.From.ID) { - return telegramCommandReply{Text: "当前 Telegram 账号不在已绑定的群组/频道中,无法绑定媒体中心账号。请先加入管理员配置的群组或频道。"} + return telegramCommandReply{Text: "当前 Telegram 账号不在管理员配置的绑定群组/频道中,无法绑定媒体中心账号。请先加入管理员配置的群组或频道;如果尚未配置,请联系管理员。"} } username, password := parseStartCredentials(args) if username == "" || password == "" { @@ -268,7 +268,7 @@ func (s *TelegramBotService) cmdHelp(ctx context.Context, msg *TelegramMessage) func (s *TelegramBotService) cmdHideAdult(ctx context.Context, msg *TelegramMessage, args []string) telegramCommandReply { channel := s.findChannelForMessage(ctx, msg) if !s.telegramUserCanBind(ctx, channel, msg.From.ID) { - return telegramCommandReply{Text: "当前 Telegram 账号不在已绑定的群组/频道中,无法使用成人目录隐藏开关。"} + return telegramCommandReply{Text: "当前 Telegram 账号不在管理员配置的绑定群组/频道中,无法使用成人目录隐藏开关。"} } binding := s.telegramBinding(ctx, msg.From.ID) if binding == nil { diff --git a/web/src/pages/NotifyChannelsPage.tsx b/web/src/pages/NotifyChannelsPage.tsx index 1242f0b..241cfbb 100644 --- a/web/src/pages/NotifyChannelsPage.tsx +++ b/web/src/pages/NotifyChannelsPage.tsx @@ -377,7 +377,7 @@ function ChannelFormModal({ />
/start 用户名 密码 绑定账号和隐藏成人目录。/status、/search、/downloads、/stats 仍仅管理员 Telegram ID 或已绑定的本地管理员可用。若测试通知超时,可填写反代 API 地址或代理地址。
+ 群组 ID、频道 ID 均为选填,可填一个、两个都填,也可以不填。管理功能始终仅管理员 Telegram ID 或已绑定的本地管理员可用;普通用户需要在已配置的群组或频道中,才能使用 /start 用户名 密码 绑定账号、切换隐藏成人媒体库和目录。不配置群组/频道时,普通用户不会被放行。若测试通知超时,可填写反代 API 地址或代理地址。