QQGuildBotManagerConfiguration

QQGuildBotManager 使用的配置类描述。

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

对所有bot的配置信息进行统一处理的函数。 如果直接对 botConfigure 进行赋值,则会覆盖之前的配置。

Link copied to clipboard

当前 botManager 使用的协程上下文。 初始值为 ApplicationConfiguration 所提供的上下文。

Functions

Link copied to clipboard
fun botConfigure(configure: ConfigurableBotConfiguration.(appId: String, secret: String, token: String) -> Unit)

对所有bot的配置信息进行统一处理的函数。 使用当前函数会保留之前的配置。