mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-22 06:58:24 +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'
|
import { RoleCombat, MysApi, Player } from '#miao.models'
|
||||||
|
|
||||||
export async function RoleCombatSummary (e) {
|
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) {
|
if (!Cfg.get('roleCombat', false) && !isMatch) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
let mys = await MysApi.init(e, 'all')
|
let mys = await MysApi.init(e, 'all')
|
||||||
|
Loading…
Reference in New Issue
Block a user