From 082ec9a7ce3f0a154ef45647d39ac3decfc1c585 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 9 Dec 2019 12:42:09 -0500 Subject: [PATCH] Fix --- commands/other/cleverbot.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/other/cleverbot.js b/commands/other/cleverbot.js index 0219c75b..8925c700 100644 --- a/commands/other/cleverbot.js +++ b/commands/other/cleverbot.js @@ -25,10 +25,11 @@ module.exports = class CleverbotCommand extends Command { type: 'string' } ], - patterns: [new RegExp(`^() (.+)`, 'i')] + patterns: [] }); this.convos = new Map(); + this.patterns.push(new RegExp(`^() (.+)`, 'i')); } async run(msg, { text }, fromPattern) {