TencentGuildBotManagerConfiguration
interface TencentGuildBotManagerConfiguration
TencentGuildBotManager 使用的配置类描述。
Functions
Link copied to clipboard
abstract fun botConfigure(configure: TencentGuildBotConfiguration.(appId: String, appKey: String, token: String) -> Unit)
对所有bot的配置信息进行统一处理的函数。 使用当前函数会保留之前的配置。
Properties
Link copied to clipboard
abstract var botConfigure: TencentGuildBotConfiguration.(appId: String, appKey: String, token: String) -> Unit
对所有bot的配置信息进行统一处理的函数。 如果直接对 botConfigure 进行赋值,则会覆盖之前的配置。