From f3ad5c9fe8ba784327393f1ea87f165d59efde99 Mon Sep 17 00:00:00 2001 From: kaguramaisakuya <1657974606@qq.com> Date: Sun, 15 Oct 2023 19:10:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=83=A8=E5=88=86=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=E6=AD=A3=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/genshin/apps/gcLog.js | 6 +++--- plugins/other/update.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/genshin/apps/gcLog.js b/plugins/genshin/apps/gcLog.js index 3c7b1d1..27038a5 100644 --- a/plugins/genshin/apps/gcLog.js +++ b/plugins/genshin/apps/gcLog.js @@ -20,15 +20,15 @@ export class gcLog extends plugin { fnc: 'logUrl' }, { - reg: '#txt(日志)?(文件)?导入记录', + reg: '^#txt(日志)?(文件)?导入记录$', fnc: 'logFile' }, { - reg: '#*(原神|星铁)?(xlsx|excel)(文件)?导入记录', + reg: '^#*(原神|星铁)?(xlsx|excel)(文件)?导入记录$', fnc: 'logXlsx' }, { - reg: '#*(原神|星铁)?json(文件)?导入记录', + reg: '^#*(原神|星铁)?json(文件)?导入记录$', fnc: 'logJson' }, { diff --git a/plugins/other/update.js b/plugins/other/update.js index a055e67..179e50c 100644 --- a/plugins/other/update.js +++ b/plugins/other/update.js @@ -19,11 +19,11 @@ export class update extends plugin { priority: 4000, rule: [ { - reg: '^#更新日志$', + reg: '^#更新日志(.*)', fnc: 'updateLog' }, { - reg: '^#(强制)?更新$', + reg: '^#(强制)?更新(.*)', fnc: 'update' }, {