@Override
    public void recieveEvent(Event event) {
        if (event.getEventType() == EventType.INPUT
                && !event.isHandled()) {

            String input = (String) event.getData();

            for(String trigger : triggers) {
                if(input.contains(trigger)) {
                    emit(new Event(EventType.OUTPUT, this, buildMessage(input)));
                    event.markHandled();
                }
            }
        }
    }