aboutsummaryrefslogtreecommitdiff
path: root/juick-commands/src/main/java/com/juick/command/Ping.java
diff options
context:
space:
mode:
authorGravatar Anatoliy Sablin2017-11-06 15:45:55 +0300
committerGravatar Anatoliy Sablin2017-11-06 15:45:55 +0300
commit41b885d84958d07ade536850829b3ba394a4f8f9 (patch)
tree93661b9f558c4234afd4e5a84b0442fdb27454a2 /juick-commands/src/main/java/com/juick/command/Ping.java
parentce0ed9ac9e82b19763b7dfd4814d327e0b49ddb7 (diff)
Added a few commands.
Diffstat (limited to 'juick-commands/src/main/java/com/juick/command/Ping.java')
-rw-r--r--juick-commands/src/main/java/com/juick/command/Ping.java5
1 files changed, 5 insertions, 0 deletions
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
@@ -20,6 +20,11 @@ public class Ping implements Command {
}
@Override
+ public String help() {
+ return "PING - returns you a PONG";
+ }
+
+ @Override
public String execute(User sender, ProtocolListener protocolListener, String command) {
return "PONG";
}