aboutsummaryrefslogtreecommitdiff
path: root/juick-commands/src/main/java/com/juick/command/PrivateMessage.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/PrivateMessage.java
parentce0ed9ac9e82b19763b7dfd4814d327e0b49ddb7 (diff)
Added a few commands.
Diffstat (limited to 'juick-commands/src/main/java/com/juick/command/PrivateMessage.java')
-rw-r--r--juick-commands/src/main/java/com/juick/command/PrivateMessage.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/juick-commands/src/main/java/com/juick/command/PrivateMessage.java b/juick-commands/src/main/java/com/juick/command/PrivateMessage.java
index 1e02f1da..e41b0037 100644
--- a/juick-commands/src/main/java/com/juick/command/PrivateMessage.java
+++ b/juick-commands/src/main/java/com/juick/command/PrivateMessage.java
@@ -34,6 +34,11 @@ public class PrivateMessage extends MultiArgsCommand {
}
@Override
+ public String help() {
+ return "@username message - send PM to username";
+ }
+
+ @Override
protected String execute(User sender, ProtocolListener protocolListener, String... arguments) {
String addressee = arguments[0];
String body = arguments[1];