Commit 5edeb869 authored by jiahua.liu's avatar jiahua.liu

Get Kicker

parent 71c86099
......@@ -128,12 +128,10 @@ internal class OnlinePush {
if (readByte().toInt() == 1) {
val target = readUInt().toLong()
val groupUin = content.fromUin
val member = bot.getGroupByUin(groupUin)[target] as MemberImpl
return MemberLeaveEvent.Kick(member, TODO("踢出时获取管理员"))
this.discardExact(1)
return MemberLeaveEvent.Kick(member, readUInt().toLong())
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment