Add CommandHandler#getPrefix
@@ -20,6 +20,10 @@ public class CommandHandler{
this.prefix = prefix;
}
+ public String getPrefix(){
+ return prefix;
+ }
+
/** Handles a message with no additional parameters.*/
public CommandResponse handleMessage(String message){
return handleMessage(message, null);
