Merge pull request #44 from bling-yshs/master

优化部分文案
This commit is contained in:
Kokomi 2022-06-24 03:21:05 +08:00 committed by GitHub
commit 4e9eb928ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,7 +175,7 @@ export async function updateMiaoPlugin(e) {
e.reply("喵喵更新失败!\nError code: " + error.code + "\n" + error.stack + "\n 请稍后重试。"); e.reply("喵喵更新失败!\nError code: " + error.code + "\n" + error.stack + "\n 请稍后重试。");
return true; return true;
} }
e.reply("喵喵更新成功,尝试重新启动Yunzai以应用更新..."); e.reply("喵喵更新成功,正在尝试重新启动Yunzai以应用更新...");
timer && clearTimeout(timer); timer && clearTimeout(timer);
redis.set("miao:restart-msg", JSON.stringify({ redis.set("miao:restart-msg", JSON.stringify({
msg: "重启成功,新版喵喵已经生效", msg: "重启成功,新版喵喵已经生效",