mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-04 07:46:43 +02:00
Fix
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user