mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-06 08:00:10 +08:00
Get Kicker
This commit is contained in:
parent
71c8609916
commit
5edeb86924
@ -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())
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user