修改部分命令正则

This commit is contained in:
kaguramaisakuya 2023-10-15 19:10:07 +08:00
parent 6e14f47513
commit f3ad5c9fe8
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'
}, },
{ {