mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-08 17:20:11 +08:00
Get Kicker
This commit is contained in:
parent
71c8609916
commit
5edeb86924
@ -128,12 +128,10 @@ internal class OnlinePush {
|
|||||||
if (readByte().toInt() == 1) {
|
if (readByte().toInt() == 1) {
|
||||||
val target = readUInt().toLong()
|
val target = readUInt().toLong()
|
||||||
val groupUin = content.fromUin
|
val groupUin = content.fromUin
|
||||||
|
|
||||||
val member = bot.getGroupByUin(groupUin)[target] as MemberImpl
|
val member = bot.getGroupByUin(groupUin)[target] as MemberImpl
|
||||||
|
this.discardExact(1)
|
||||||
return MemberLeaveEvent.Kick(member, TODO("踢出时获取管理员"))
|
return MemberLeaveEvent.Kick(member, readUInt().toLong())
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user