Improve Cleverbot

This commit is contained in:
Daniel Odendahl Jr
2017-05-09 19:55:51 +00:00
parent 2066a94054
commit a4657fda8d
3 changed files with 12 additions and 3 deletions
+6
View File
@@ -14,6 +14,9 @@ class Cleverbot {
user: this.user,
key: this.key,
nick: this.nick
})
.then(response => {
return response.body;
});
}
@@ -25,6 +28,9 @@ class Cleverbot {
key: this.key,
nick: this.nick,
text
})
.then(response => {
return response.body;
});
}
}