Update brain.mjs

This commit is contained in:
Arma-Damna-Dillo 2025-02-08 04:15:27 +00:00
parent 073a0b66e2
commit 777befac5a

View file

@ -37,7 +37,7 @@ class ConsciousnessApp {
// Helper function for asking questions
async asker() {
this.rl.question('<Query>: ', (query) => {
this.rl.question('<Query>: ', async (query) => {
if (query == "exit" || query == "quit") {
console.log("Goodbye!")
return rl.close()