mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-11 02:50:15 +08:00
Use 'Console' for dataHolderName for builtins
This commit is contained in:
parent
bf4c82f1a5
commit
5cfaef0fcd
@ -42,13 +42,13 @@ internal object ConsoleDataScope : CoroutineScope by MiraiConsole.childScope("Co
|
|||||||
internal object ConsoleBuiltInPluginDataHolder : AutoSavePluginDataHolder,
|
internal object ConsoleBuiltInPluginDataHolder : AutoSavePluginDataHolder,
|
||||||
CoroutineScope by ConsoleDataScope.childScope("ConsoleBuiltInPluginDataHolder") {
|
CoroutineScope by ConsoleDataScope.childScope("ConsoleBuiltInPluginDataHolder") {
|
||||||
override val autoSaveIntervalMillis: LongRange = 1.minutesToMillis..10.minutesToMillis
|
override val autoSaveIntervalMillis: LongRange = 1.minutesToMillis..10.minutesToMillis
|
||||||
override val dataHolderName: String get() = "ConsoleBuiltIns"
|
override val dataHolderName: String get() = "Console"
|
||||||
}
|
}
|
||||||
|
|
||||||
internal object ConsoleBuiltInPluginConfigHolder : AutoSavePluginDataHolder,
|
internal object ConsoleBuiltInPluginConfigHolder : AutoSavePluginDataHolder,
|
||||||
CoroutineScope by ConsoleDataScope.childScope("ConsoleBuiltInPluginConfigHolder") {
|
CoroutineScope by ConsoleDataScope.childScope("ConsoleBuiltInPluginConfigHolder") {
|
||||||
override val autoSaveIntervalMillis: LongRange = 1.minutesToMillis..10.minutesToMillis
|
override val autoSaveIntervalMillis: LongRange = 1.minutesToMillis..10.minutesToMillis
|
||||||
override val dataHolderName: String get() = "ConsoleBuiltIns"
|
override val dataHolderName: String get() = "Console"
|
||||||
}
|
}
|
||||||
|
|
||||||
internal object ConsoleBuiltInPluginDataStorage :
|
internal object ConsoleBuiltInPluginDataStorage :
|
||||||
|
Loading…
Reference in New Issue
Block a user