mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 15:07:42 +02:00
Update Cleverbot
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiaobot",
|
||||
"version": "19.3.0",
|
||||
"version": "19.3.1",
|
||||
"description": "A Discord Bot",
|
||||
"main": "shardingmanager.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -6,7 +6,12 @@ class Cleverbot {
|
||||
this.user = options.user;
|
||||
this.nick = options.nick;
|
||||
}
|
||||
|
||||
|
||||
setNick(nick) {
|
||||
this.nick = nick;
|
||||
return this.nick;
|
||||
}
|
||||
|
||||
create() {
|
||||
return request
|
||||
.post('https://cleverbot.io/1.0/create')
|
||||
|
||||
Reference in New Issue
Block a user