mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-07 06:45:31 +02:00
Fix spacing in cleverbot
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiaobot",
|
||||
"version": "18.9.1",
|
||||
"version": "18.9.2",
|
||||
"description": "A Discord Bot",
|
||||
"main": "shardingmanager.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -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