From 41b885d84958d07ade536850829b3ba394a4f8f9 Mon Sep 17 00:00:00 2001 From: Anatoliy Sablin Date: Mon, 6 Nov 2017 15:45:55 +0300 Subject: Added a few commands. --- juick-commands/src/main/java/com/juick/command/Ping.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'juick-commands/src/main/java/com/juick/command/Ping.java') diff --git a/juick-commands/src/main/java/com/juick/command/Ping.java b/juick-commands/src/main/java/com/juick/command/Ping.java index 7d081b41..7684af7a 100644 --- a/juick-commands/src/main/java/com/juick/command/Ping.java +++ b/juick-commands/src/main/java/com/juick/command/Ping.java @@ -19,6 +19,11 @@ public class Ping implements Command { return PATTERN; } + @Override + public String help() { + return "PING - returns you a PONG"; + } + @Override public String execute(User sender, ProtocolListener protocolListener, String command) { return "PONG"; -- cgit v1.2.3