andyfeller
andyfeller

Reputation: 985

What is the ideal way to listen for messages from Hubot scripts?

I want to create a hubot script that captures messages within a multiuser chat and record them including hubot. The problem is that hubot does not hear itself. It doesn't appear that adapters emit an event whenever a message is sent, so is there a recommended approach to listening to hubot messages?

Upvotes: 2

Views: 754

Answers (1)

Rafael Fonseca
Rafael Fonseca

Reputation: 160

We're using Hubot with HipChat, and have resorted to posting directly to HipChat's API when we want the bot to listen. Not ideal, but works.

Upvotes: 1

Related Questions