From e245f8d6b33a3453ea91af815e28f3ced3ef64c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=95=BF=E6=A5=A0?= <2388182620@qq.com> Date: Tue, 30 May 2023 06:26:06 +0000 Subject: [PATCH] =?UTF-8?q?update=20lib/plugins/loader.js.=20=E5=8C=B9?= =?UTF-8?q?=E9=85=8D=E4=BA=86=E4=B8=AD=E6=96=87=E5=AD=97=E7=AC=A6=EF=BC=8A?= =?UTF-8?q?=E5=92=8C=E6=B1=89=E5=AD=97=E7=B1=B3=E4=BD=9C=E4=B8=BA=E6=98=9F?= =?UTF-8?q?=E9=93=81=E5=91=BD=E4=BB=A4=E5=AE=B9=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 长楠 <2388182620@qq.com> --- lib/plugins/loader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins/loader.js b/lib/plugins/loader.js index 5c74b42..ae25f32 100644 --- a/lib/plugins/loader.js +++ b/lib/plugins/loader.js @@ -32,7 +32,7 @@ class PluginsLoader { this.watcher = {} /** 星铁命令前缀 */ - this.srReg = /^#?(\*|星铁|星轨|穹轨|星穹|崩铁|星穹铁道|崩坏星穹铁道|铁道)+/ + this.srReg = /^#?(米|*|\*)?(星铁|星轨|穹轨|星穹|崩铁|星穹铁道|崩坏星穹铁道|铁道)+/ } /**