mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-22 10:19:11 +02:00
Fix
This commit is contained in:
@@ -25,10 +25,11 @@ module.exports = class CleverbotCommand extends Command {
|
|||||||
type: 'string'
|
type: 'string'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
patterns: [new RegExp(`^(<!?@${client.user.id}>) (.+)`, 'i')]
|
patterns: []
|
||||||
});
|
});
|
||||||
|
|
||||||
this.convos = new Map();
|
this.convos = new Map();
|
||||||
|
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