Merge pull request #285 from kaguramaisakuya/master

修改部分命令正则
This commit is contained in:
Ca(HCO₃)₂ 2023-10-15 19:11:19 +08:00 committed by GitHub
commit dda0d6ca9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -20,15 +20,15 @@ export class gcLog extends plugin {
fnc: 'logUrl' fnc: 'logUrl'
}, },
{ {
reg: '#txt(日志)?(文件)?导入记录', reg: '^#txt(日志)?(文件)?导入记录$',
fnc: 'logFile' fnc: 'logFile'
}, },
{ {
reg: '#*(原神|星铁)?(xlsx|excel)(文件)?导入记录', reg: '^#*(原神|星铁)?(xlsx|excel)(文件)?导入记录$',
fnc: 'logXlsx' fnc: 'logXlsx'
}, },
{ {
reg: '#*(原神|星铁)?json(文件)?导入记录', reg: '^#*(原神|星铁)?json(文件)?导入记录$',
fnc: 'logJson' fnc: 'logJson'
}, },
{ {

View File

@ -19,11 +19,11 @@ export class update extends plugin {
priority: 4000, priority: 4000,
rule: [ rule: [
{ {
reg: '^#更新日志$', reg: '^#更新日志(.*)',
fnc: 'updateLog' fnc: 'updateLog'
}, },
{ {
reg: '^#(强制)?更新$', reg: '^#(强制)?更新(.*)',
fnc: 'update' fnc: 'update'
}, },
{ {