useOneBot11BotManager
fun ApplicationFactoryConfigurer<*, *, *>.useOneBot11BotManager(configurator: ConfigurerFunction<OneBotBotManagerConfiguration>? = null)(source)
在 ApplicationBuilder 中 尝试 安装使用 OneBotBotManager。
usage:
simbotApplication(Foo) {
useOneBotBotManager()
// 或
useOneBotBotManager { ... }
}
Content copied to clipboard
相当于:
simbotApplication(Foo) {
install(OneBotBotManager) { ... }
}
Content copied to clipboard