code: protected Map<String, CommandHandler> getCommandHandlers (String command)
      {
          HashMap<String, CommandHandler> matches = Maps.newHashMap();
          BodyObject user = (BodyObject)_ctx.getClient().getClientObject();
          for (Map.Entry<String, CommandHandler> entry : _handlers.entrySet()) {
              if (!isCommandPrefix(command, entry.getKey(), entry.getValue(), user)) {
                  continue;
              }
              if (entry.getKey().equals(command)) {// If we hit an exact match, it wins
                  matches.clear();
                  matches.put(entry.getKey(), entry.getValue());
                  return matches;
              }
              // if we're providing the full list and we show aliases in the usage text,
              // only map to the first alias
              String key = (_showAliasesInUsage && command.equals("")) ?
                  entry.getValue()._aliases[0] : entry.getKey();
              matches.put(key, entry.getValue());
          }
          return matches;
      }
docs: Returns a map containing all command handlers that match the specified command (i.e. the
  specified command is a prefix of their registered command string). If there's an exact
  match, only that match is returned, even if the command is a prefix of other handlers.