diff --git a/simbot-component-kook-core/src/commonMain/kotlin/love/forte/simbot/component/kook/event/KookBotRegisteredEvent.kt b/simbot-component-kook-core/src/commonMain/kotlin/love/forte/simbot/component/kook/event/KookBotRegisteredEvent.kt index 73b97240..baa7429a 100644 --- a/simbot-component-kook-core/src/commonMain/kotlin/love/forte/simbot/component/kook/event/KookBotRegisteredEvent.kt +++ b/simbot-component-kook-core/src/commonMain/kotlin/love/forte/simbot/component/kook/event/KookBotRegisteredEvent.kt @@ -26,14 +26,14 @@ import love.forte.simbot.common.id.UUID import love.forte.simbot.common.time.Timestamp import love.forte.simbot.component.kook.bot.KookBot import love.forte.simbot.component.kook.bot.KookBotManager -import love.forte.simbot.event.BotEvent +import love.forte.simbot.event.BotRegisteredEvent /** * 当一个 [KookBot] 在 [KookBotManager] 中被_注册_时。 * * @author ForteScarlet */ -public abstract class KookBotRegisteredEvent : KookEvent(), BotEvent { +public abstract class KookBotRegisteredEvent : KookEvent(), BotRegisteredEvent { override val id: ID = UUID.random() @OptIn(ExperimentalSimbotAPI::class) diff --git a/simbot-component-kook-core/src/commonMain/kotlin/love/forte/simbot/component/kook/event/KookBotStartedEvent.kt b/simbot-component-kook-core/src/commonMain/kotlin/love/forte/simbot/component/kook/event/KookBotStartedEvent.kt index 5c437d98..1d5ab273 100644 --- a/simbot-component-kook-core/src/commonMain/kotlin/love/forte/simbot/component/kook/event/KookBotStartedEvent.kt +++ b/simbot-component-kook-core/src/commonMain/kotlin/love/forte/simbot/component/kook/event/KookBotStartedEvent.kt @@ -25,14 +25,14 @@ import love.forte.simbot.common.id.ID import love.forte.simbot.common.id.UUID import love.forte.simbot.common.time.Timestamp import love.forte.simbot.component.kook.bot.KookBot -import love.forte.simbot.event.BotEvent +import love.forte.simbot.event.BotStartedEvent /** * [KookBot] 执行 [start][KookBot.start] 之后推送的事件。 * * @author ForteScarlet */ -public abstract class KookBotStartedEvent : KookEvent(), BotEvent { +public abstract class KookBotStartedEvent : KookEvent(), BotStartedEvent { override val id: ID = UUID.random() @OptIn(ExperimentalSimbotAPI::class)