private void parseModeratorsList(String text,String channel){
  List<String> modsList=TwitchCommands.parseModsList(text);
  users.modsListReceived(channel,modsList);
  if (!twitchCommands.waitingForModsSilent() || (channel != null && !twitchCommands.removeModsSilent(channel))) {
    listener.onInfo(channel,"[Info] " + text);
    if (modsList.size() > 0) {
      listener.onInfo(channel,"There are " + modsList.size() + " mods for this channel.");
    }
 else {
      listener.onInfo(channel,"There are no mods for this channel.");
    }
  }
 else {
    debug("Silent mods list (" + channel + ")");
  }
}

private void parseModeratorsList ( String text , String channel ) { List < String > modsList = TwitchCommands . parseModsList ( text ) ; users . modsListReceived ( channel , modsList ) ; if ( ! twitchCommands . waitingForModsSilent ( ) || ( channel != null && ! twitchCommands . removeModsSilent ( channel ) ) ) { listener . onInfo ( channel , "[Info] " + text ) ; if ( modsList . size ( ) > 0 ) { listener . onInfo ( channel , "There are " + modsList . size ( ) + " mods for this channel." ) ; } else { listener . onInfo ( channel , "There are no mods for this channel." ) ; } } else { debug ( "Silent mods list (" + channel + ")" ) ; } }
counts the moderators in the / mods response and outputs the count .
