// Path: src/main/java/io/github/spugn/Sargo/Utilities/GitHubImage.java
// public class GitHubImage
// {
//     private String filePath;
//     private final String GITHUB_IMAGE;
// 
//     public GitHubImage(String filePath)
//     {
//         GITHUB_IMAGE = LoginSettingsParser.getGitHubRepoURL();
//         this.filePath = filePath;
//     }
// 
//     public String getURL()
//     {
//         String url = GITHUB_IMAGE + filePath;
// 
//         /* REPLACE ALL SPACES WITH %20 */
//         url = url.replaceAll(" ", "%20");
// 
//         /* REPLACE ALL ★ WITH %E2%98%85 */
//         url = url.replaceAll("★", "%E2%98%85");
// 
//         return url;
//     }
// }


import io.github.spugn.Sargo.Utilities.GitHubImage;
import javax.xml.stream.XMLEventReader;
import javax.xml.stream.XMLInputFactory;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.events.Attribute;
import javax.xml.stream.events.XMLEvent;
import java.io.*;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Random;
                {
                    return (sao_or_alo) ? image_sao_stars_URL : image_alo_stars_URL;
                }
            default:
                return (sao_or_alo) ? image_sao_smile_URL : image_alo_smile_URL;
        }
    }

    /**
     * Returns a random quote from the list in the ScoutMaster file.
     * @return  String of text that should be displayed in the scout result.
     */
    public String getQuote()
    {
        return quotes.get(new Random().nextInt(quotes.size()));
    }

    /**
     * Initializes default data that is used if there is an error when
     * parsing the ScoutMaster file.
     */
    private void initDefaults()
    {
        botName = "S'argo";

        //image_sao_smile_URL = new GitHubImage("images/System/Argo_Smile.png").getURL();
        //image_sao_grin_URL = new GitHubImage("images/System/Argo_Grin.png").getURL();
        //image_sao_smug_URL = new GitHubImage("images/System/Argo_Smug.png").getURL();
        //image_sao_flowers_URL = new GitHubImage("images/System/Argo_Flowers.png").getURL();

// Path: src/main/java/io/github/spugn/Sargo/Utilities/GitHubImage.java
// public class GitHubImage
// {
//     private String filePath;
//     private final String GITHUB_IMAGE;
// 
//     public GitHubImage(String filePath)
//     {
//         GITHUB_IMAGE = LoginSettingsParser.getGitHubRepoURL();
//         this.filePath = filePath;
//     }
// 
//     public String getURL()
//     {
//         String url = GITHUB_IMAGE + filePath;
// 
//         /* REPLACE ALL SPACES WITH %20 */
//         url = url.replaceAll(" ", "%20");
// 
//         /* REPLACE ALL ★ WITH %E2%98%85 */
//         url = url.replaceAll("★", "%E2%98%85");
// 
//         return url;
//     }
// }


// Path: src/main/java/io/github/spugn/Sargo/XMLParsers/ScoutMasterParser.java
import io.github.spugn.Sargo.Utilities.GitHubImage;
import javax.xml.stream.XMLEventReader;
import javax.xml.stream.XMLInputFactory;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.events.Attribute;
import javax.xml.stream.events.XMLEvent;
import java.io.*;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Random;

                {
                    return (sao_or_alo) ? image_sao_stars_URL : image_alo_stars_URL;
                }
            default:
                return (sao_or_alo) ? image_sao_smile_URL : image_alo_smile_URL;
        }
    }

    /**
     * Returns a random quote from the list in the ScoutMaster file.
     * @return  String of text that should be displayed in the scout result.
     */
    public String getQuote()
    {
        return quotes.get(new Random().nextInt(quotes.size()));
    }

    /**
     * Initializes default data that is used if there is an error when
     * parsing the ScoutMaster file.
     */
    private void initDefaults()
    {
        botName = "S'argo";

        //image_sao_smile_URL = new GitHubImage("images/System/Argo_Smile.png").getURL();
        //image_sao_grin_URL = new GitHubImage("images/System/Argo_Grin.png").getURL();
        //image_sao_smug_URL = new GitHubImage("images/System/Argo_Smug.png").getURL();
        //image_sao_flowers_URL = new GitHubImage("images/System/Argo_Flowers.png").getURL();

        image_sao_smile_URL = new GitHubImage("images/System/Argo_SAO_Smile.png").getURL();