package net.hexid.hexbot.bots;

import java.util.List;
import java.util.ArrayList;

public class Imgur implements net.hexid.hexbot.bot.Bot {
	private ArrayList<String> botArgs;
	public Imgur(ArrayList<String> botArgs) {
		this.botArgs = botArgs;
	}

	public List<String> getBotExecuteData() {
		if(botArgs.size() == 1) {
			//botArgs.add(Bots.)
		} else if(botArgs.size() != 2) {
			System.out.println("botArgs: album [output]");
			System.exit(1);
		}
		return botArgs;
	}
	public void processExitCode(int exitCode) {
		
	}
	public String getShortName() {
		return "Imgur";
	}
}

@@ -41,45 +41,149 @@
 ava.
-util.List;%0Aimport java.util.ArrayList
+io.File;%0Aimport java.util.Arrays;%0Aimport java.util.List;%0Aimport java.util.ArrayList;%0Aimport net.hexid.Utils;%0Aimport net.hexid.hexbot.bot.Bots
 ;%0A%0Ap
@@ -425,10 +425,8 @@
 %0A%09%09%09
-//
 botA
@@ -437,14 +437,94 @@
 add(
-Bots.)
+%22--output=%22 + Utils.join(File.separator, Bots.getPWD().getPath(), %22output%22, %22Imgur%22));
 %0A%09%09%7D
@@ -628,16 +628,74 @@
 1);%0A%09%09%7D%0A
+%09%09System.out.println(Arrays.toString(botArgs.toArray()));%0A
 %09%09return

Allow 1 argument in Imgur CLI