mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Improve Cleverbot
This commit is contained in:
@@ -14,6 +14,9 @@ class Cleverbot {
|
||||
user: this.user,
|
||||
key: this.key,
|
||||
nick: this.nick
|
||||
})
|
||||
.then(response => {
|
||||
return response.body;
|
||||
});
|
||||
}
|
||||
|
||||
@@ -25,6 +28,9 @@ class Cleverbot {
|
||||
key: this.key,
|
||||
nick: this.nick,
|
||||
text
|
||||
})
|
||||
.then(response => {
|
||||
return response.body;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user