예제 #1
0
 @EventHandler
 public void handleCTCP(CTCPEvent e) {
   if ("ACTION".equalsIgnoreCase(e.getType())) {
     final Action event = new Action(e);
     fireEvent("irc_action", event);
   }
 }
예제 #2
0
 public String getMessage() {
   return event.getMessage();
 }
예제 #3
0
 public String getTarget() {
   return event.getTarget().getName();
 }
예제 #4
0
 public String getWho() {
   return event.getSender().getName();
 }
예제 #5
0
 public SocBot getBot() {
   return event.getBot();
 }