mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-10 18:40:15 +08:00
Rename config save name 'ManagersConfig' to 'Managers'
This commit is contained in:
parent
7d51009361
commit
1414ff35e7
@ -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<MutableMap<Long, MutableSet<Long>>>().withEmptyDefault()
|
||||
.mapKeys(Bot::getInstance, Bot::id)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user