diff --git a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/internal/util/BotManagerImpl.kt b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/internal/util/BotManagerImpl.kt index e15b1437b..1ad40eaba 100644 --- a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/internal/util/BotManagerImpl.kt +++ b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/internal/util/BotManagerImpl.kt @@ -45,7 +45,10 @@ internal object BotManagerImpl : BotManager { } } +@ValueName("Managers") internal object ManagersConfig : AutoSavePluginConfig() { + override val saveName: String + get() = "Managers" private val managers by value>>().withEmptyDefault() .mapKeys(Bot::getInstance, Bot::id)