diff --git a/package.json b/package.json index 6189de05..da27894d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiaobot", - "version": "18.9.1", + "version": "18.9.2", "description": "A Discord Bot", "main": "shardingmanager.js", "scripts": { diff --git a/structures/Cleverbot.js b/structures/Cleverbot.js index e76d1ab8..a2ba90e0 100644 --- a/structures/Cleverbot.js +++ b/structures/Cleverbot.js @@ -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')