mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-21 22:48:13 +00:00
fix: fix
This commit is contained in:
parent
52f182ba23
commit
c35dafbe79
@ -3,8 +3,8 @@ import { Cfg, Common, Data } from '#miao'
|
||||
import { RoleCombat, MysApi, Player } from '#miao.models'
|
||||
|
||||
export async function RoleCombatSummary (e) {
|
||||
let isMatch = /^#(喵喵)*(幻想|幻境|剧诗|幻想真境剧诗)(数据)?$/.test(e.original_msg || e.msg || '')
|
||||
if (!Cfg.get('uploadRoleCombat', false) && !isMatch) {
|
||||
let isMatch = /^#(喵喵)(幻想|幻境|剧诗|幻想真境剧诗)(数据)?$/.test(e.original_msg || e.msg || '')
|
||||
if (!Cfg.get('roleCombat', false) && !isMatch) {
|
||||
return false
|
||||
}
|
||||
let mys = await MysApi.init(e, 'all')
|
||||
|
Loading…
Reference in New Issue
Block a user