diff --git a/commands/other/cleverbot.js b/commands/other/cleverbot.js index 8925c700..d2a5c99b 100644 --- a/commands/other/cleverbot.js +++ b/commands/other/cleverbot.js @@ -29,7 +29,7 @@ module.exports = class CleverbotCommand extends Command { }); this.convos = new Map(); - this.patterns.push(new RegExp(`^() (.+)`, 'i')); + this.client.once('ready', () => this.patterns.push(new RegExp(`^() (.+)`, 'i'))); } async run(msg, { text }, fromPattern) {