This commit is contained in:
Dragon Fire
2021-06-05 18:14:12 -04:00
parent 7d3b0672be
commit 11d7a69227
+1 -1
View File
@@ -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();