From 74aa6c74fa746a9f41154c69b3ac1fbfcbff5153 Mon Sep 17 00:00:00 2001 From: leiyilu <1509167646@qq.com> Date: Mon, 20 Jun 2022 09:31:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9cv=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/admin.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/admin.js b/apps/admin.js index 89c55a2..5b67127 100644 --- a/apps/admin.js +++ b/apps/admin.js @@ -101,17 +101,17 @@ export async function updateMiaoPlugin(e) { exec(command, { cwd: `${_path}/plugins/xiaoyao-cvs-plugin/` }, function (error, stdout, stderr) { //console.log(stdout); if (/Already up to date/.test(stdout)) { - e.reply("目前已经是最新版喵喵了~"); + e.reply("目前已经是最新版逍遥插件了~"); return true; } if (error) { - e.reply("喵喵更新失败!\nError code: " + error.code + "\n" + error.stack + "\n 请稍后重试。"); + e.reply("逍遥插件更新失败!\nError code: " + error.code + "\n" + error.stack + "\n 请稍后重试。"); return true; } - e.reply("喵喵更新成功,尝试重新启动Yunzai以应用更新..."); + e.reply("逍遥插件更新成功,尝试重新启动Yunzai以应用更新..."); timer && clearTimeout(timer); redis.set("xiaoyao:restart-msg", JSON.stringify({ - msg: "重启成功,新版喵喵已经生效", + msg: "重启成功,新版逍遥插件已经生效", qq: e.user_id }), { EX: 30 }); timer = setTimeout(function () { @@ -119,7 +119,7 @@ export async function updateMiaoPlugin(e) { exec(command, function (error, stdout, stderr) { if (error) { if (/Yunzai not found/.test(error)) { - e.reply("自动重启失败,请手动重启以应用新版喵喵。请使用 npm run start 命令启动Yunzai-Bot"); + e.reply("自动重启失败,请手动重启以应用新版逍遥插件。请使用 npm run start 命令启动Yunzai-Bot"); } else { e.reply("重启失败!\nError code: " + error.code + "\n" + error.stack + "\n 请稍后重试。"); }