37 lines
930 B
Java
37 lines
930 B
Java
package com.bbn.hadder.commands.owner;
|
|
|
|
import com.bbn.hadder.commands.Command;
|
|
import com.bbn.hadder.commands.CommandEvent;
|
|
import com.bbn.hadder.commands.Perms;
|
|
import com.bbn.hadder.utils.MessageEditor;
|
|
import com.bbn.hadder.utils.MessageEditor.MessageType;
|
|
|
|
import static com.bbn.hadder.commands.Perm.BOT_OWNER;
|
|
|
|
/*
|
|
* @author Skidder / GregTCLTK
|
|
*/
|
|
|
|
@Perms(perms = BOT_OWNER)
|
|
public class TestCommand implements Command {
|
|
|
|
@Override
|
|
public void executed(String[] args, CommandEvent event) {
|
|
event.getTextChannel().sendMessage(event.getMessageEditor().getMessage(MessageType.INFO, "commands.owner.test.success", "").build()).queue();
|
|
}
|
|
|
|
@Override
|
|
public String[] labels() {
|
|
return new String[]{"test"};
|
|
}
|
|
|
|
@Override
|
|
public String description() {
|
|
return "commands.owner.test.help.description";
|
|
}
|
|
|
|
@Override
|
|
public String usage() {
|
|
return "";
|
|
}
|
|
}
|