This commit is contained in:
Dragon Fire
2021-06-05 12:33:26 -04:00
parent 8809dee34c
commit f7fe7f6242
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ module.exports = class CommandDispatcher {
const firstResult = (content.match(argRegex) || []).map(m => m.replace(argRegex, '$1$2'));
const parsed = minimist(firstResult);
const result = { flags: [...parsed] };
for (let i = 0; i > command.args.length; i++) {
for (let i = 0; i < command.args.length; i++) {
const arg = command.args[i];
const parsedArg = result._[i];
if (arg.isEmpty(parsedArg, msg, arg)) {