useQQGuild
fun ApplicationFactoryConfigurer<*, *, *>.useQQGuild(builder: QQGuildUsageBuilder.() -> Unit = {})(source)
同时安装使用 QQGuildComponent 和 QQGuildBotManager.
usage:
simbotApplication(Foo) {
useQQGuild()
// 或
useQQGuild {
component { ... }
botManager { ... }
}
}
Content copied to clipboard
相当于:
simbotApplication(Foo) {
install(QQGuildComponent) { ... }
install(QGBotManager) { ... }
}
Content copied to clipboard