KookBotManagerConfiguration
interface KookBotManagerConfiguration
KookBotManager 使用的配置类。
Functions
Link copied to clipboard
abstract fun register(ticket: KookBot.Ticket, block: KookComponentBotConfiguration.() -> Unit = {}, onBot: suspend (KookComponentBot) -> Unit)
abstract fun register(ticket: KookBot.Ticket, configuration: KookComponentBotConfiguration, onBot: suspend (KookComponentBot) -> Unit)
通过 ticket 和 configuration 注册bot。
abstract fun register(clientId: String, token: String, block: KookComponentBotConfiguration.() -> Unit = {}, onBot: suspend (KookComponentBot) -> Unit)
abstract fun register(clientId: String, token: String, configuration: KookComponentBotConfiguration, onBot: suspend (KookComponentBot) -> Unit)
通过 clientId、 token 和 configuration 注册bot。