Lose

data class Lose(member: NormalMember, honorType: GroupHonorType) : MemberHonorChangeEvent

失去荣誉时的事件

Constructors

Lose
Link copied to clipboard
fun Lose(member: NormalMember, honorType: GroupHonorType)

Functions

cancel
Link copied to clipboard
fun cancel()
intercept
Link copied to clipboard
abstract fun intercept()

拦截这个事件

toString
Link copied to clipboard
open override fun toString(): String

Properties

bot
Link copied to clipboard
open override val bot: Bot
group
Link copied to clipboard
open override val group: Group
honorType
Link copied to clipboard
open override val honorType: GroupHonorType

改变的荣誉类型

isCancelled
Link copied to clipboard
val isCancelled: Boolean
isIntercepted
Link copied to clipboard
abstract val isIntercepted: Boolean

事件是否已被拦截.

member
Link copied to clipboard
open override val member: NormalMember

改变荣誉的群成员

user
Link copied to clipboard
open override val user: Member