mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-25 06:42:51 +02:00
Update Cleverbot
This commit is contained in:
+1
-1
@@ -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": {
|
||||||
|
|||||||
@@ -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')
|
||||||
|
|||||||
Reference in New Issue
Block a user