mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-14 00:08:06 +02:00
Fix spacing in cleverbot
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user