From c3d497f7724a8e60347dd274b93197902a982187 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Sat, 6 May 2017 05:13:18 +0000 Subject: [PATCH] Does this make it better? --- commands/random/cleverbot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/random/cleverbot.js b/commands/random/cleverbot.js index e985b594..e2fa9c88 100644 --- a/commands/random/cleverbot.js +++ b/commands/random/cleverbot.js @@ -28,7 +28,7 @@ module.exports = class CleverbotCommand extends Command { try { const { body } = await request .post('https://cleverbot.io/1.0/ask') - .send({ user: process.env.CLEVS_USER, key: process.env.CLEVS_KEY, text }); + .send({ user: process.env.CLEVS_USER, key: process.env.CLEVS_KEY, text, nick: 'XiaoBot' }); console.log(body.status, body.response, body); if(body.status !== 'success') throw new Error(body.status); return msg.reply(body.response);