BaseApplicationBuilder
Functions
Link copied to clipboard
添加一个bot注册函数。
Link copied to clipboard
Link copied to clipboard
protected suspend fun buildProviders(eventProcessor: EventProcessor, components: List<Component>, applicationConfiguration: ApplicationConfiguration): List<EventProvider>
Link copied to clipboard
当 Application 构建完毕,则执行此函数来执行所有的回调函数。
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun <C : Component, Config : Any> install(componentFactory: ComponentFactory<C, Config>, configurator: Config.(perceivable: CompletionPerceivable<A>) -> Unit)
注册一个 组件.
open override fun <P : EventProvider, Config : Any> install(eventProviderFactory: EventProviderFactory<P, Config>, configurator: Config.(perceivable: CompletionPerceivable<A>) -> Unit)
注册一个 事件提供者.
Link copied to clipboard
Link copied to clipboard
提供botManager列表并执行它们的注册逻辑。