Fix spacing in cleverbot

This commit is contained in:
Daniel Odendahl Jr
2017-05-09 17:59:59 +00:00
parent e39627d3ec
commit 8c02e138d7
2 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiaobot",
"version": "18.9.1",
"version": "18.9.2",
"description": "A Discord Bot",
"main": "shardingmanager.js",
"scripts": {
+9 -9
View File
@@ -6,17 +6,17 @@ class Cleverbot {
this.user = options.user;
this.nick = options.nick;
}
create() {
return request
.post('https://cleverbot.io/1.0/create')
.send({
user: this.user,
key: this.key,
nick: this.nick
});
return request
.post('https://cleverbot.io/1.0/create')
.send({
user: this.user,
key: this.key,
nick: this.nick
});
}
ask(text) {
return request
.post('https://cleverbot.io/1.0/ask')