mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-21 14:04:38 +02:00
Fix
This commit is contained in:
@@ -28,7 +28,7 @@ module.exports = class CommandDispatcher {
|
|||||||
if (!command) {
|
if (!command) {
|
||||||
return {
|
return {
|
||||||
command: this.client.registry.commands.find(cmd => cmd.unknown),
|
command: this.client.registry.commands.find(cmd => cmd.unknown),
|
||||||
args: { command: command[2].toLowerCase() }
|
args: { command: matched[2].toLowerCase() }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
const content = msg.content.replace(this.commandPattern, '').trim();
|
const content = msg.content.replace(this.commandPattern, '').trim();
|
||||||
|
|||||||
Reference in New Issue
Block a user