mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix?
This commit is contained in:
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user