aboutsummaryrefslogtreecommitdiff
path: root/juick-commands/src/main/java/com/juick/command/Command.java
blob: 9a8775e575d07dc48cbe8197dfaf4afb1da22b8d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.juick.command;

import com.juick.User;
import com.juick.server.protocol.ProtocolListener;

import java.util.regex.Pattern;

/**
 * @author ma1uta
 */
public interface Command {

    Pattern pattern();

    String help();

    String execute(User sender, ProtocolListener protocolListener, String command);
}