From 857963155480de462ebe291d6f82af9fc03eac95 Mon Sep 17 00:00:00 2001 From: Filip Brychta Date: Mon, 19 Jan 2015 11:09:21 +0100 Subject: [PATCH 1/2] Bump jon.qeapi version --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 99993de..0188405 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ com.redhat jon.qeapi - 0.0.1-SNAPSHOT + 0.0.2-SNAPSHOT org.pircbotx From 65ce73f722924034515bd430000fbe20bc01ded9 Mon Sep 17 00:00:00 2001 From: Filip Brychta Date: Tue, 15 Sep 2015 16:39:57 +0200 Subject: [PATCH 2/2] Notifying user that his request is in progress --- src/main/java/org/rhq/lab/ircbot/RHQLabCommandHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/rhq/lab/ircbot/RHQLabCommandHandler.java b/src/main/java/org/rhq/lab/ircbot/RHQLabCommandHandler.java index c2d5ab9..dc55ab4 100644 --- a/src/main/java/org/rhq/lab/ircbot/RHQLabCommandHandler.java +++ b/src/main/java/org/rhq/lab/ircbot/RHQLabCommandHandler.java @@ -22,8 +22,8 @@ public void onPrivateMessage(PrivateMessageEvent event) throws Excepti String rhqlabCmd = "-o " + safeNick + " " + event.getMessage(); - System.out.println(rhqlabCmd); - + System.out.println(rhqlabCmd); + event.respond("Processing your request. Please wait."); String[] output = new CmdLineExecutor().execute(rhqlabCmd.split(" ")); for(String s:output) { event.respond(s);