-
1. Re: Hubot for #aerogear
jbalunas Feb 2, 2012 7:34 PM (in response to kborchers)I think this is something that would be interesting to think about as we move forward, but I'm not sure of the priority for right now. What commands are currently working?
The biggest thing that we're thinking of getting set up is a meetbot that helps with meetings notes, and action items. There is also jbossbot that provides some jira integration ( adds links and summary when referencing AEROGEAR-XXX), and also github integration for when commits and pull requests come in.
-
2. Re: Hubot for #aerogear
kborchers Feb 3, 2012 9:36 AM (in response to jbalunas)I would agree that this is not high priority. This would be more of a convenience bot that can grab info for us. It has a number of available functions out of the box plus a couple that I have modified or added so far. A few commands of note that are available now include:
- .g <phrase> -- Google the <phrase> and return the title and link for the first result (ex - .g aerogear project)
- .tweet <twitter handle> -- Return the last tweet posted by this twitter user (ex - .tweet k_borchers)
- <link to a tweet> -- Shows the twitter user's name and the content of the tweet referenced (ex - https://twitter.com/#!/tech4j/status/164766195663388672)
- ?<phrase> [@ user] -- Pull a stored "factoid" from the database. User "@ user" will direct the response at the specified user (ex - ?aerogear or ?aerogear @ kborchers)
- Currently, since this bot is being hosted on my free Heroku account, the Redis store where the facts are kept is not persistent so if the bot is restarted, any stored facts are lost
- To store a new item you use "aerobot: <phrase> is <factoid>" and to remove one you use "aerobot: forget <phrase>
- This script could be modified to store the data elsewhere that is persistent or could be changed to search different API's, etc. I think it would be best to set up other scripts for searching API's and keep this one for storing helpful phrases, links, etc.
This bot could be made to do pretty much anything we want. The scripts are written in CoffeeScript which I am still learning but is pretty easy to pick up.