mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-23 10:02:05 +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.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) {
|
async run(msg, { text }, fromPattern) {
|
||||||
|
|||||||
Reference in New Issue
Block a user