From 56fb6e04d2ee776189fbfab1c2e66da2e082e668 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Sun, 25 Jun 2017 14:21:00 +0000 Subject: [PATCH] A --- commands/random/cleverbot.js | 35 ----------------------------------- commands/search/urban.js | 2 +- html/carbonfeat.html | 1 - html/discordbots.html | 1 - package.json | 1 - 5 files changed, 1 insertion(+), 39 deletions(-) delete mode 100644 commands/random/cleverbot.js diff --git a/commands/random/cleverbot.js b/commands/random/cleverbot.js deleted file mode 100644 index 36a5c73a..00000000 --- a/commands/random/cleverbot.js +++ /dev/null @@ -1,35 +0,0 @@ -const Command = require('../../structures/Command'); -const Cleverbot = require('cleverio'); -const { CLEVS_KEY, CLEVS_USER, CLEVS_NICK } = process.env; - -module.exports = class CleverbotCommand extends Command { - constructor(client) { - super(client, { - name: 'cleverbot', - aliases: ['clevs', 'chat'], - group: 'random', - memberName: 'cleverbot', - description: 'Talk to Cleverbot.', - args: [ - { - key: 'text', - prompt: 'What do you want to say to Cleverbot?', - type: 'string' - } - ] - }); - - this.clevs = new Cleverbot({ - key: CLEVS_KEY, - user: CLEVS_USER, - nick: CLEVS_NICK - }); - this.clevs.create(); - } - - async run(msg, args) { - const { text } = args; - const { response } = await this.clevs.ask(text); - return msg.reply(response); - } -}; diff --git a/commands/search/urban.js b/commands/search/urban.js index 4a83b166..1eef114d 100644 --- a/commands/search/urban.js +++ b/commands/search/urban.js @@ -33,7 +33,7 @@ module.exports = class UrbanCommand extends Command { .setTitle(body.list[0].word) .setDescription(body.list[0].definition.substr(0, 2000)) .addField('❯ Example', - body.list[0].example.substr(0, 2000) || 'None'); + body.list[0].example.substr(0, 1024) || 'None'); return msg.embed(embed); } }; diff --git a/html/carbonfeat.html b/html/carbonfeat.html index 15606f03..f54edd98 100644 --- a/html/carbonfeat.html +++ b/html/carbonfeat.html @@ -23,7 +23,6 @@
  • Moderation Commands including Ban/Kick/Softban/Unban/Warn, Lockdown, and Prune, with Logging!
  • Currency and Temperature Conversion!
  • Math Calculator!
  • -
  • Cleverbot!
  • Tons of Secret Easter Eggs to discover!
  • Horoscopes!
  • LMGTFY Link Generation!
  • diff --git a/html/discordbots.html b/html/discordbots.html index 67a5a36f..2eb56560 100644 --- a/html/discordbots.html +++ b/html/discordbots.html @@ -20,7 +20,6 @@
  • Moderation Commands including Ban/Kick/Softban/Unban/Warn, Lockdown, and Prune, with Logging!
  • Currency and Temperature Conversion!
  • Math Calculator!
  • -
  • Cleverbot!
  • Tons of Secret Easter Eggs to discover!
  • Horoscopes!
  • LMGTFY Link Generation!
  • diff --git a/package.json b/package.json index 5e2b635f..81fca716 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,6 @@ "bufferutil": "^3.0.1", "canvas": "automattic/node-canvas", "cheerio": "^1.0.0-rc.1", - "cleverio": "dragonfire535/cleverio", "custom-translate": "dragonfire535/custom-translate", "discord.js": "hydrabolt/discord.js", "discord.js-commando": "gawdl3y/discord.js-commando",