diff --git a/src/class/Util.ts b/src/class/Util.ts index efdd055..db9f880 100644 --- a/src/class/Util.ts +++ b/src/class/Util.ts @@ -68,8 +68,11 @@ export default class Util { for (const subCmd of resolvedCommand.subcommands.toArray()) { if (subCmd.aliases.includes(args[0])) { resolvedCommand = subCmd; args.shift(); break; + } else { + hasSubCommands = false; break; } } + break; } }