diff --git a/settings.js b/settings.js index d1f8d9e..8e7e4dd 100644 --- a/settings.js +++ b/settings.js @@ -30,7 +30,7 @@ export default "load_memory": false, // load memory from previous session "init_message": "Respond with hello world and your name", // sends to all on spawn "only_chat_with": [], // users that the bots listen to and send general messages to. if empty it will chat publicly - "speak": false, // allows all bots to speak through system text-to-speech. tested on windows, should work on mac, on linux you may need to `apt install espeak` + "speak": false, // allows all bots to speak through system text-to-speech. works on windows, mac, on linux you need to `apt install espeak` "language": "en", // translate to/from this language. Supports these language names: https://cloud.google.com/translate/docs/languages "show_bot_views": false, // show bot's view in browser at localhost:3000, 3001... diff --git a/src/agent/speak.js b/src/agent/speak.js index af18298..9fc9c60 100644 --- a/src/agent/speak.js +++ b/src/agent/speak.js @@ -37,6 +37,7 @@ function processQueue() { console.error(`${error.stack}`); } else if (stderr) { console.error(`Error: ${stderr}`); + } processQueue(); // Continue with the next message in the queue }); }