Fix command length (s/args/nargs)
This commit is contained in:
parent
615a2e0bb5
commit
554d5d2745
@ -177,7 +177,7 @@ class CommandManager:
|
||||
self._args = args
|
||||
retargs = args[:]
|
||||
if text.endswith(' ') and (cmd.split is True or
|
||||
len(args) < cmd.args[0]):
|
||||
len(args) < cmd.nargs[0]):
|
||||
retargs.append('')
|
||||
return [cmdstr] + retargs
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user