useTencentGuild
fun <A : Application> ApplicationBuilder<A>.useTencentGuild(builder: TencentGuildUsageBuilder<A>.() -> Unit = {})
同时安装使用 TencentGuildComponent 和 TencentGuildBotManager.
usage:
simbotApplication(Foo) {
useTencentGuild()
// 或
useTencentGuild {
component { ... }
botManager { ... }
}
}
Content copied to clipboard
相当于:
simbotApplication(Foo) {
install(TencentGuildComponent) { ... }
install(TencentGuildBotManager) { ... }
}
Content copied to clipboard