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
|
||||
*/
|
||||
|
||||
import com.bbn.hadder.commands.general.HelpCommand;
|
||||
|
||||
public interface Command {
|
||||
void executed(String[] args, CommandEvent event);
|
||||
String[] labels();
|
||||
String description();
|
||||
String usage();
|
||||
HelpCommand.HelpInfo HELP_INFO();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ package com.bbn.hadder.commands.owner;
|
|||
|
||||
import com.bbn.hadder.commands.Command;
|
||||
import com.bbn.hadder.commands.CommandEvent;
|
||||
import com.bbn.hadder.commands.general.HelpCommand;
|
||||
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();
|
||||
}
|
||||
|
||||
@Override
|
||||
public HelpCommand.HelpInfo HELP_INFO() {
|
||||
String[] d = {"d", "d"};
|
||||
return new HelpCommand.HelpInfo(d, "", "", "");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String[] labels() {
|
||||
return new String[]{"test"};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue