Update agent.js

This commit is contained in:
Solenopsisbot 2025-05-13 17:16:03 +10:00 committed by GitHub
parent 0b8aeb8464
commit bc781b7db8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -388,7 +388,8 @@ export class Agent {
if (settings.speak) {
say(to_translate);
}
this.bot.chat(message);
if (settings.chat_response) {this.bot.chat(message);}
sendResponseToServer(this.name, message);
}
}