From a5331703f63a100e1e8896a0c1aeeabe7267123e Mon Sep 17 00:00:00 2001 From: bujidao <107128577+babanbang@users.noreply.github.com> Date: Thu, 4 Jul 2024 23:03:24 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E5=B9=BB=E6=83=B3=E7=9C=9F?= =?UTF-8?q?=E5=A2=83=E5=89=A7=E8=AF=97=E5=85=B3=E9=97=AD=20=E6=97=B6?= =?UTF-8?q?=E4=BD=BF=E7=94=A8yunzai=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/stat/RoleCombatSummary.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/stat/RoleCombatSummary.js b/apps/stat/RoleCombatSummary.js index da49fcc5..eeffcd47 100644 --- a/apps/stat/RoleCombatSummary.js +++ b/apps/stat/RoleCombatSummary.js @@ -4,7 +4,7 @@ import { Cfg, Common, Data } from '#miao' import { Role, Character, MysApi, Player } from '#miao.models' export async function RoleCombatSummary (e) { - let isMatch = /^#(喵喵|上传)*(幻想|剧诗|幻想真境剧诗)(数据)?$/.test(e.original_msg || e.msg || '') + let isMatch = /^#(喵喵|上传)(幻想|剧诗|幻想真境剧诗)(数据)?$/.test(e.original_msg || e.msg || '') if (!Cfg.get('uploadRoleCombat', false) && !isMatch) { return false }