mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-21 22:48:13 +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) {
|
if (!Cfg.get('roleCombat', false) && !isMatch) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
let mys = await MysApi.init(e, 'all')
|
// 需要自身 ck 查询
|
||||||
|
let mys = await MysApi.init(e, 'cookie')
|
||||||
if (!mys || !mys.uid) {
|
if (!mys || !mys.uid) {
|
||||||
if (isMatch) {
|
if (isMatch) {
|
||||||
e.reply(`请绑定ck后再使用${e.original_msg || e.msg}`)
|
e.reply(`请绑定ck后再使用${e.original_msg || e.msg}`)
|
||||||
|
Loading…
Reference in New Issue
Block a user