Continue later
This commit is contained in:
parent
29dd178715
commit
5059e7b165
2 changed files with 10 additions and 3 deletions
|
|
@ -4,9 +4,9 @@ package com.bbn.hadder.commands;
|
||||||
* @author Skidder / GregTCLTK
|
* @author Skidder / GregTCLTK
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
import com.bbn.hadder.commands.general.HelpCommand;
|
||||||
|
|
||||||
public interface Command {
|
public interface Command {
|
||||||
void executed(String[] args, CommandEvent event);
|
void executed(String[] args, CommandEvent event);
|
||||||
String[] labels();
|
HelpCommand.HelpInfo HELP_INFO();
|
||||||
String description();
|
|
||||||
String usage();
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@ package com.bbn.hadder.commands.owner;
|
||||||
|
|
||||||
import com.bbn.hadder.commands.Command;
|
import com.bbn.hadder.commands.Command;
|
||||||
import com.bbn.hadder.commands.CommandEvent;
|
import com.bbn.hadder.commands.CommandEvent;
|
||||||
|
import com.bbn.hadder.commands.general.HelpCommand;
|
||||||
import com.bbn.hadder.utils.MessageEditor.MessageType;
|
import com.bbn.hadder.utils.MessageEditor.MessageType;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
@ -15,6 +16,12 @@ public class TestCommand implements Command {
|
||||||
event.getTextChannel().sendMessage(event.getMessageEditor().getMessage(MessageType.INFO, "commands.owner.test.success", "").build()).queue();
|
event.getTextChannel().sendMessage(event.getMessageEditor().getMessage(MessageType.INFO, "commands.owner.test.success", "").build()).queue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public HelpCommand.HelpInfo HELP_INFO() {
|
||||||
|
String[] d = {"d", "d"};
|
||||||
|
return new HelpCommand.HelpInfo(d, "", "", "");
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String[] labels() {
|
public String[] labels() {
|
||||||
return new String[]{"test"};
|
return new String[]{"test"};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue