mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -28,7 +28,7 @@ module.exports = class CommandDispatcher {
|
||||
if (!command) {
|
||||
return {
|
||||
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();
|
||||
|
||||
Reference in New Issue
Block a user