简体   繁体   中英

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM