useTencentGuildComponent
fun <A : Application> ApplicationBuilder<A>.useTencentGuildComponent(configurator: TencentGuildComponentConfiguration.(perceivable: CompletionPerceivable<A>) -> Unit = {})
在 ApplicationBuilder 中安装使用 TencentGuildComponent。
usage:
simbotApplication(Foo) {
useTencentGuildComponent()
// 或
useTencentGuildComponent { ... }
}
Content copied to clipboard
相当于:
simbotApplication(Foo) {
install(TencentGuildComponent) { ... }
}
Content copied to clipboard