consoleDataScope
Mirai Console 内置的一些 PluginConfig 和 PluginData 的管理器.
建议实现为 lazy:
override val consoleDataScope: MiraiConsoleImplementation.ConsoleDataScope by lazy {
MiraiConsoleImplementation.ConsoleDataScope.createDefault(
coroutineContext,
dataStorageForBuiltIns,
configStorageForBuiltIns
)
}
Content copied to clipboard
Since
2.10.0-RC