A command's catalog entry. takesArguments tells the two kinds apart, so an entry filtered on !takesArguments has a NoArgumentCommandId and runs as commands[entry.id]().
takesArguments
!takesArguments
commands[entry.id]()
A command's catalog entry.
takesArgumentstells the two kinds apart, so an entry filtered on!takesArgumentshas a NoArgumentCommandId and runs ascommands[entry.id]().