Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Him188 2021-01-08 10:58:40 +08:00
commit 03ab43ad17

View File

@ -540,20 +540,30 @@ public sealed class MemberHonorChangeEvent : GroupMemberEvent, BotPassiveEvent,
/**
* 获得荣誉时的事件
*/
public class Achieve(override val member: NormalMember, override val honorType: GroupHonorType) :
MemberHonorChangeEvent()
public data class Achieve(override val member: NormalMember, override val honorType: GroupHonorType) :
MemberHonorChangeEvent() {
override fun toString(): String {
return "MemberHonorChangeEvent.Achieve(member=$member, honorType=$honorType)"
}
}
/**
* 失去荣誉时的事件
*/
public class Lose(override val member: NormalMember, override val honorType: GroupHonorType) :
MemberHonorChangeEvent()
public data class Lose(override val member: NormalMember, override val honorType: GroupHonorType) :
MemberHonorChangeEvent() {
override fun toString(): String {
return "MemberHonorChangeEvent.Lose(member=$member, honorType=$honorType)"
}
}
}
/**
* [Group] 龙王改变时的事件
*/
public class GroupTalkativeChangeEvent(
public data class GroupTalkativeChangeEvent(
/**
* 改变的群
*/