This commit is contained in:
Dragon Fire
2019-12-09 12:42:09 -05:00
parent 8af2a727d4
commit 082ec9a7ce
+2 -1
View File
@@ -25,10 +25,11 @@ module.exports = class CleverbotCommand extends Command {
type: 'string'
}
],
patterns: [new RegExp(`^(<!?@${client.user.id}>) (.+)`, 'i')]
patterns: []
});
this.convos = new Map();
this.patterns.push(new RegExp(`^(<!?@${this.client.user.id}>) (.+)`, 'i'));
}
async run(msg, { text }, fromPattern) {