17 lines
370 B
Java
17 lines
370 B
Java
package de.mrbesen.telegram.commands;
|
|
|
|
import de.mrbesen.telegram.TelegramUser;
|
|
|
|
public interface CommandHandler {
|
|
|
|
/**
|
|
* Should return true, if the command is handled correctly, false if the help menu should be displayed
|
|
* @param sender
|
|
* @param cmd
|
|
* @param args
|
|
* @return
|
|
*/
|
|
public boolean onCommand(TelegramUser sender, String cmd, String[] args);
|
|
|
|
}
|