mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-24 08:54:29 +00:00
Fix role combat query (#802)
This commit is contained in:
parent
ffd1bd7670
commit
4cb7084722
@ -7,7 +7,8 @@ export async function RoleCombatSummary (e) {
|
||||
if (!Cfg.get('roleCombat', false) && !isMatch) {
|
||||
return false
|
||||
}
|
||||
let mys = await MysApi.init(e, 'all')
|
||||
// 需要自身 ck 查询
|
||||
let mys = await MysApi.init(e, 'cookie')
|
||||
if (!mys || !mys.uid) {
|
||||
if (isMatch) {
|
||||
e.reply(`请绑定ck后再使用${e.original_msg || e.msg}`)
|
||||
|
Loading…
Reference in New Issue
Block a user