BotReloginEvent

data class BotReloginEvent @MiraiInternalApi constructor(bot: Bot, cause: Throwable?) : AbstractEvent, BotEvent, BotActiveEvent

Bot 主动或被动重新登录. 在此事件广播前就已经登录完毕.

Constructors

BotReloginEvent
Link copied to clipboard
fun BotReloginEvent(bot: Bot, cause: Throwable?)

Functions

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

拦截这个事件

Properties

bot
Link copied to clipboard
open override val bot: Bot
cause
Link copied to clipboard
val cause: Throwable?
isCancelled
Link copied to clipboard
val isCancelled: Boolean
isIntercepted
Link copied to clipboard
abstract val isIntercepted: Boolean

事件是否已被拦截.