Update Cleverbot

This commit is contained in:
Daniel Odendahl Jr
2017-05-13 15:46:40 +00:00
parent ac435d5f3c
commit 73ad340cb1
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "xiaobot", "name": "xiaobot",
"version": "19.3.0", "version": "19.3.1",
"description": "A Discord Bot", "description": "A Discord Bot",
"main": "shardingmanager.js", "main": "shardingmanager.js",
"scripts": { "scripts": {
+5
View File
@@ -7,6 +7,11 @@ class Cleverbot {
this.nick = options.nick; this.nick = options.nick;
} }
setNick(nick) {
this.nick = nick;
return this.nick;
}
create() { create() {
return request return request
.post('https://cleverbot.io/1.0/create') .post('https://cleverbot.io/1.0/create')