From a9b0387cff948fa379721e72df2c0543d456166d Mon Sep 17 00:00:00 2001 From: SmallK111407 <3399280843@qq.com> Date: Fri, 22 Mar 2024 21:01:22 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/other/update.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/other/update.js b/plugins/other/update.js index 21702bd..ad3ceb8 100644 --- a/plugins/other/update.js +++ b/plugins/other/update.js @@ -27,7 +27,7 @@ export class update extends plugin { fnc: 'update' }, { - reg: '^#(静默?)全部(强制)?更新$', + reg: '^#(静默)?全部(强制)?更新$', fnc: 'updateAll', permission: 'master' } @@ -182,7 +182,7 @@ export class update extends plugin { const originalReply = this.reply if (/^#静默全部(强制)?更新$/.test(this.e.msg)) { - await this.e.reply(`开始执行静默全部更新...请稍等`) + await this.reply(`开始执行静默全部更新,请稍等...`) this.reply = (message) => { this.messages.push(message) } @@ -197,7 +197,7 @@ export class update extends plugin { await this.runUpdate(plu) } - await this.e.reply(await common.makeForwardMsg(this.e, this.messages)) + await this.reply(await common.makeForwardMsg(this.e, this.messages)) if (this.isUp) { // await this.reply('即将执行重启,以应用更新')