Skip to content
Snippets Groups Projects
Unverified Commit 3794a7b3 authored by Avanish Singh's avatar Avanish Singh Committed by GitHub
Browse files

Update server.js

parent f6c7afd8
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ io.on('connection', (socket) => {
socket.on('client message', (msg) => {
console.log('message: ' + msg);
smartAnswer = findAnswer(msg);
socket.emit('bot message', smartAnswer);
socket.emit('bot-message', smartAnswer);
console.log('response: ', smartAnswer);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment