Use 'Console' for dataHolderName for builtins

This commit is contained in:
Him188 2020-09-08 21:29:30 +08:00
parent bf4c82f1a5
commit 5cfaef0fcd

View File

@ -42,13 +42,13 @@ internal object ConsoleDataScope : CoroutineScope by MiraiConsole.childScope("Co
internal object ConsoleBuiltInPluginDataHolder : AutoSavePluginDataHolder,
CoroutineScope by ConsoleDataScope.childScope("ConsoleBuiltInPluginDataHolder") {
override val autoSaveIntervalMillis: LongRange = 1.minutesToMillis..10.minutesToMillis
override val dataHolderName: String get() = "ConsoleBuiltIns"
override val dataHolderName: String get() = "Console"
}
internal object ConsoleBuiltInPluginConfigHolder : AutoSavePluginDataHolder,
CoroutineScope by ConsoleDataScope.childScope("ConsoleBuiltInPluginConfigHolder") {
override val autoSaveIntervalMillis: LongRange = 1.minutesToMillis..10.minutesToMillis
override val dataHolderName: String get() = "ConsoleBuiltIns"
override val dataHolderName: String get() = "Console"
}
internal object ConsoleBuiltInPluginDataStorage :