mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-04 15:56:52 +02:00
This feels really hacky
This commit is contained in:
@@ -29,7 +29,7 @@ module.exports = class CleverbotCommand extends Command {
|
||||
});
|
||||
|
||||
this.convos = new Map();
|
||||
this.patterns.push(new RegExp(`^(<!?@${this.client.user.id}>) (.+)`, 'i'));
|
||||
this.client.once('ready', () => this.patterns.push(new RegExp(`^(<!?@${this.client.user.id}>) (.+)`, 'i')));
|
||||
}
|
||||
|
||||
async run(msg, { text }, fromPattern) {
|
||||
|
||||
Reference in New Issue
Block a user