mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-05 07:30:09 +08:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
03ab43ad17
@ -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(
|
||||
/**
|
||||
* 改变的群
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user