mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-21 14:38:30 +00:00
设置幻想真境剧诗关闭 时使用yunzai功能
This commit is contained in:
parent
4fcdfebfde
commit
a5331703f6
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user