Beispiel #1
0
  public void sendBotEvent(String source, String[] botCommand, boolean isPrivate) {
    IBotEvent event = new BotEvent(this, source, botCommand, isPrivate);

    log.info("Sending Bot event " + event);

    botEventSource.sendEvent("Bot.sendBotEvent", event);
  }
Beispiel #2
0
  public void sendErrorEvent(String module, String type, String message) {
    ErrorEvent event = new ErrorEvent(this, module, type, message);

    log.info("Sending Error event " + event);

    errorEventSource.sendEvent(module, event);
  }
Beispiel #3
0
  public void sendIRCEvent(IIrcMessage msg) {
    IIrcEvent event = new IrcEvent(this, msg);

    log.info("Sending IRC event " + event);

    ircEventSource.sendEvent("Bot.sendIrcEvent", event);
  }