static S botAutoHelp() { ret "Commands: " + join(" ", botAutoHelp_commands()); } static L botAutoHelp_commands() { new L cmds; L tok = javaTokMe(); for (S pat : toLinesFullTrim([[ startsWith(s, startsWithWord(s, , eq(s, ) ]])) for (int i : jfindAll(tok, pat)) cmds.add(trim(unquote(tok.get(i+8)))); ret cmds; }