update lib/plugins/loader.js.
匹配了中文字符*和汉字米作为星铁命令容错 Signed-off-by: 长楠 <2388182620@qq.com>
This commit is contained in:
parent
fb41a3e157
commit
e245f8d6b3
|
@ -32,7 +32,7 @@ class PluginsLoader {
|
|||
this.watcher = {}
|
||||
|
||||
/** 星铁命令前缀 */
|
||||
this.srReg = /^#?(\*|星铁|星轨|穹轨|星穹|崩铁|星穹铁道|崩坏星穹铁道|铁道)+/
|
||||
this.srReg = /^#?(米|*|\*)?(星铁|星轨|穹轨|星穹|崩铁|星穹铁道|崩坏星穹铁道|铁道)+/
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue