isAutoStartBots

open var isAutoStartBots: Boolean = true

是否在bot注册后,在 application 构建完毕的时候自动执行 Bot.start

这一行为会注册到 StandardApplicationBuilder.onCompletion 中.

如果设置为 true,效果类似于:

simbotApplication(...) {
bots {
register(...)?.also { bot ->
onCompletion {
bot.start()
}
}
}
}

默认为true