This commit is contained in:
Dragon Fire
2024-03-24 00:45:20 -04:00
parent ee6c27a7ce
commit 3a6c5224ed
3 changed files with 1 additions and 6 deletions
-2
View File
@@ -80,7 +80,6 @@ module.exports = class CommandDispatcher {
continue;
}
}
console.log(parsedArg);
const valid = await arg.validate(parsedArg, msg, arg);
if (!valid || typeof valid === 'string') {
return stripIndents`
@@ -88,7 +87,6 @@ module.exports = class CommandDispatcher {
${arg.invalidText}
`;
}
console.log(parsedArg);
finalResult[arg.key] = await arg.parse(parsedArg, msg, arg);
}
return { command, args: finalResult };