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' }, {