help is in a half written state and command manager may be unstable due to unfinished checks with optional wildcard arguments, rewrite pending Signed-off-by: deepCurse <leverplays@gmail.com>
31 lines
759 B
Java
31 lines
759 B
Java
package pkg.deepCurse.nopalmo.command.commands.general;
|
|
|
|
import java.util.HashMap;
|
|
|
|
import pkg.deepCurse.nopalmo.command.CommandInterface.GuildCommandInterface;
|
|
import pkg.deepCurse.nopalmo.manager.Argument;
|
|
import pkg.deepCurse.nopalmo.manager.GuildCommandBlob;
|
|
|
|
public class Test implements GuildCommandInterface {
|
|
|
|
@Override
|
|
public String[] getCommandCalls() {
|
|
return new String[] {"test"};
|
|
}
|
|
|
|
@Override
|
|
public HelpPage getHelpPage() {
|
|
return HelpPage.TESTING;
|
|
}
|
|
|
|
@Override
|
|
public String getHelp() {
|
|
return "A command used to test various things";
|
|
}
|
|
|
|
@Override
|
|
public void runGuildCommand(GuildCommandBlob blob, HashMap<String, Argument> argumentList) throws Exception {
|
|
blob.getEvent().getChannel().sendMessage("Tested").queue();
|
|
}
|
|
|
|
}
|