sayhi-ai
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -8,3 +8,2 @@ var request = require('request-json'); | ||
client.post("/allphrases", {token: token}, function (error, res, body) { | ||
console.log(body); | ||
data = body; | ||
@@ -63,4 +62,4 @@ callback(data); | ||
var ran = rand(0, responses.length - 1); | ||
return responses[ran]; | ||
return responses[ran].text; | ||
} | ||
}; |
{ | ||
"name": "sayhi-ai", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
20674
9
66