diff --git a/brain.mjs b/brain.mjs index 46f3b52..f4c3718 100644 --- a/brain.mjs +++ b/brain.mjs @@ -37,7 +37,7 @@ class ConsciousnessApp { // Helper function for asking questions async asker() { - this.rl.question(': ', (query) => { + this.rl.question(': ', async (query) => { if (query == "exit" || query == "quit") { console.log("Goodbye!") return rl.close()