KookBotRegistrar

在 Kook 组件中对于 Bot 的注册函数的常见形式。

See also

Functions

Link copied to clipboard

通过 ticketblock 注册bot。

通过 ticketconfiguration 注册bot。

abstract fun register(clientId: String, token: String, block: KookComponentBotConfiguration.() -> Unit = {}): KookComponentBot

通过 clientIdtokenblock 注册bot。

abstract fun register(clientId: String, token: String, configuration: KookComponentBotConfiguration): KookComponentBot

通过 clientIdtokenconfiguration 注册bot。

Inheritors

Link copied to clipboard