Revert "feat(config): implement loading and saving of bot node configuration with default notification settings"

This reverts commit ec1cf20347.
This commit is contained in:
2026-09-06 21:36:50 +08:00
parent b5b042b46d
commit 5d349df2ba
3 changed files with 36 additions and 63 deletions
-7
View File
@@ -47,13 +47,6 @@ func main() {
log.Fatalf("Failed to load bot user config: %v", err)
}
// Load the node registry config. Unlike the other files it is optional:
// missing or empty bot_node_config.json simply means every node keeps its
// default enableStatusNotify (true).
if err := config.LoadBotNodeConfig(global.ConfigPath.BotNodeConfig); err != nil {
log.Fatalf("Failed to load bot node config: %v", err)
}
// Initialize logging.
postLog.SetDebugMode(cfg.System.DebugMode)
postLog.InitLogBroadcaster()