BotOfflineEvent  
    Types
Link copied to clipboard
                data class Active(val bot: Bot, val cause: Throwable?) : BotOfflineEvent, BotActiveEvent, BotOfflineEvent.CauseAware
Content copied to clipboard
主动离线.
Link copied to clipboard
                Link copied to clipboard
                data class Dropped @MiraiInternalApi constructor(val bot: Bot, val cause: Throwable?) : BotOfflineEvent, Packet, BotPassiveEvent, BotOfflineEvent.CauseAware
Content copied to clipboard
因网络问题而掉线
Link copied to clipboard
                data class Force @MiraiInternalApi constructor(    val bot: Bot,     val title: String,     val message: String) : BotOfflineEvent, Packet, BotPassiveEvent
Content copied to clipboard
被挤下线. 默认不会自动重连. 可将 reconnect 改为 true 以重连.
Link copied to clipboard
                data class MsfOffline @MiraiInternalApi constructor(val bot: Bot, val cause: Throwable?) : BotOfflineEvent, Packet, BotPassiveEvent, BotOfflineEvent.CauseAware
Content copied to clipboard
被服务器断开
Link copied to clipboard
                data class RequireReconnect @MiraiInternalApi constructor(val bot: Bot, val cause: Throwable?) : BotOfflineEvent, Packet, BotPassiveEvent, BotOfflineEvent.CauseAware
Content copied to clipboard
服务器主动要求更换另一个服务器
Functions
Properties
Link copied to clipboard
                Link copied to clipboard
                为 true 时会尝试重连. 仅 BotOfflineEvent.Force 默认为 false, 其他默认为 true.