KookBotManager
KookComponentBot 的管理器实现。
Author
ForteScarlet
Constructors
Types
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun <V> delayAndCompute(duration: JavaDuration, supplier: Supplier<V>): DelayableCompletableFuture<V>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
通过 .bot
的json配置文件注册一个bot信息。
open override fun register(ticket: KookBot.Ticket, block: KookComponentBotConfiguration.() -> Unit): KookComponentBot
abstract override fun register(ticket: KookBot.Ticket, configuration: KookComponentBotConfiguration): KookComponentBot
通过 ticket 和 configuration 注册bot。
open override fun register(clientId: String, token: String, block: KookComponentBotConfiguration.() -> Unit): KookComponentBot
open override fun register(clientId: String, token: String, configuration: KookComponentBotConfiguration): KookComponentBot
通过 clientId、 token 和 configuration 注册bot。
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard