package net.hexid.hexbot.bot.cmd;

import java.util.ArrayList;

public abstract class BotCommand implements net.hexid.hexbot.bot.Bot {
	protected String botID;
	protected ArrayList<String> botArgs;
	public BotCommand(String botID, ArrayList<String> botArgs) {
		this.botID = botID;
		this.botArgs = botArgs;
	}

	public String getBotID() {
		return botID;
	}

	public void processExitCode(int exitCode) {
		System.out.println("Exit code: " + exitCode);
	}
}
@@ -55,16 +55,49 @@
 rayList;
+%0Aimport net.hexid.hexbot.bot.Bot;
 %0A%0Apublic
@@ -127,70 +127,21 @@
 and 
-implements net.hexid.hexbot.bot.Bot %7B%0A%09protected String botID;
+extends Bot %7B
 %0A%09pr
@@ -243,26 +243,20 @@
 %7B%0A%09%09
-this.botID = botID
+super(botID)
 ;%0A%09%09
@@ -287,56 +287,8 @@
 %09%7D%0A%0A
-%09public String getBotID() %7B%0A%09%09return botID;%0A%09%7D%0A%0A
 %09pub

Change BotCommand class to extend new Bot abstract class