From cb7a4e419e08f8d2533551795fce8289a0c90fd9 Mon Sep 17 00:00:00 2001 From: krau <71133316+krau@users.noreply.github.com> Date: Mon, 27 Jan 2025 10:26:49 +0800 Subject: [PATCH] fix: update help text --- telegram/handlers/help.go | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/telegram/handlers/help.go b/telegram/handlers/help.go index 774ad84..ca7fafb 100644 --- a/telegram/handlers/help.go +++ b/telegram/handlers/help.go @@ -20,17 +20,16 @@ func Help(ctx context.Context, bot *telego.Bot, message telego.Message) { /hash - 计算图片信息 /stats - 获取统计数据 /files - 获取作品原图 -/query - 混合搜索作品 +/hybrid - 混合搜索作品 +/similar - 搜索相似作品 ` helpText += ` 随机图片相关功能中支持使用以下格式的参数: - 使用 '|' 分隔'或'关系, 使用 '空格' 分隔'与'关系, 示例: /random 萝莉|白丝 猫耳|原创 表示搜索包含"萝莉"或"白丝", 且包含"猫耳"或"原创"的图片. - Inline 查询(在任意聊天框中@本bot)支持同样的参数格式. ` isAdmin, _ := service.IsAdmin(ctx, message.From.ID) @@ -42,18 +41,12 @@ Inline 查询(在任意聊天框中@本bot)支持同样的参数格式. /r18 - 设置作品R18标记 /title - 设置作品标题 /tags - 更新作品标签(覆盖原有标签) +/autotag - 自动tag作品 /addtags - 添加作品标签 /deltags - 删除作品标签 /tagalias - 为标签添加别名 /dump - 输出 json 格式作品信息 /recaption - 重新生成作品描述 - -process_pictures_hashsize - 处理无哈希和尺寸的图片 -process_pictures_storage - 处理图片存储(生成缩略图, 迁移用) -fix_twitter_artists - 修复Twitter作者信息(更新所有推特作品的作者信息) -autotag_all - 自动tag所有作品 - -发送作品链接可以获取信息或发布到频道 ` } helpText += fmt.Sprintf("\n版本: %s, 构建日期 %s, 提交 %s\nhttps://github.com/krau/ManyACG", common.Version, common.BuildTime, common.Commit[:7])