mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 15:07:42 +02:00
seriously
This commit is contained in:
@@ -80,6 +80,7 @@ module.exports = class CommandDispatcher {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
console.log(parsedArg);
|
||||
const valid = await arg.validate(parsedArg, msg, arg);
|
||||
if (!valid || typeof valid === 'string') {
|
||||
return stripIndents`
|
||||
@@ -87,6 +88,7 @@ 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