1
0
mirror of https://github.com/mamoe/mirai.git synced 2025-04-25 04:50:26 +08:00

fix: honor event

This commit is contained in:
cssxsh 2023-07-05 20:00:12 +08:00
parent 96e93e670e
commit 3b779b58b0
No known key found for this signature in database
GPG Key ID: 92849F91CA9D8ECE

View File

@ -376,14 +376,14 @@ internal class GroupNotificationProcessor(
}
}
// 群聊之火
1052L, 1129L -> {
1052L, 1129L, 10095L -> {
val now = grayTip.msgTemplParam["uin"]?.findMember() ?: group.botAsMember
now.info.honors += GroupHonorType.PERFORMER
collect(MemberHonorChangeEvent.Achieve(now, GroupHonorType.PERFORMER))
}
// 群聊炽焰
1055L -> {
1055L, 10096L -> {
val now = grayTip.msgTemplParam["uin"]?.findMember() ?: group.botAsMember
now.info.honors -= GroupHonorType.PERFORMER