From 9809f7614c52607bf44efc32feea5d213c45da24 Mon Sep 17 00:00:00 2001 From: zhiyu1998 <542716863@qq.com> Date: Fri, 23 Aug 2024 20:45:11 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=E6=96=B0=E5=A2=9E`#linux`?= =?UTF-8?q?=E5=91=BD=E4=BB=A4=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/query.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/apps/query.js b/apps/query.js index f5de846..14d0fcd 100644 --- a/apps/query.js +++ b/apps/query.js @@ -5,7 +5,13 @@ import puppeteer from "../../../lib/puppeteer/puppeteer.js"; // http库 import axios from "axios"; // 常量 -import { CAT_LIMIT, COMMON_USER_AGENT, DIVIDING_LINE, REDIS_YUNZAI_ANIMELIST } from "../constants/constant.js"; +import { + CAT_LIMIT, + COMMON_USER_AGENT, + DIVIDING_LINE, + HELP_DOC, + REDIS_YUNZAI_ANIMELIST +} from "../constants/constant.js"; import { LINUX_AI_PROMPT, LINUX_QUERY } from "../constants/query.js"; // 配置文件 import config from "../model/config.js"; @@ -301,7 +307,7 @@ export class query extends plugin { const Msg = await Bot.makeForwardMsg(textArrayToMakeForward(e, [`「R插件 x ${ model }」联合为您总结内容:`, kimiAns])); await e.reply(Msg); } catch (err) { - e.reply("暂时无法查询到当前命令!"); + e.reply(`暂时无法查询到更多详细内容如果需要,可配置AI!${HELP_DOC}`); } return true; }