err = errors.Join(err, agents.Close())
}()
+ whatsapp.inbox.voice = &VoiceTranscriber{config: config.Voice}
+
root := agents[0]
agent := root.agent
schedules := root.schedules
if hasBot {
telegram = newTelegramBot(newTelegramAPI(telegramAPIURL, botSettings.Token), botSettings.Owner, filepath.Join(agent.dir, telegramOffsetFileName), daemonLogger(out, "telegram: "))
+ telegram.voice = &VoiceTranscriber{config: config.Voice}
+
logger.Info("Telegram bot started")
}