A long time ago in a galaxy far, far away… the metabroadcats decided to switch from Skype to the new system of Slack. Slack is amazing but we are not here to talk about Slack…instead we are going to tell the fantastic and heroic story of Hubot at the Slack system.
hubot: a new hope
Hubot was here once, but then he was gone…and now is back to save us all! Well…a little bit exaggerated. A few weeks ago, with Thomas help, I ported our Hubot integration from Skype to Slack. After a few fights against the puppet empire we manage to get Hubot fully armed and operational. For the people who are still fighting this war, here are a few pieces of advices: Install Hubot, Hubot generator and CoffeeScript with npm:
npm install -g yo generator-hubot ; npm install -g hubot coffee-scriptInstall Hubot Slack module:
npm install -g hubot-slack --saveConfigure Hubot:
yo hubot —-owner=“email@example.com” —name=“hubot” \ —description=“Hubot for Slack” —adapter=slack
the hubot wars
There is no war without soldiers…there is no Hubot without scripts. It’s not so hard to add a new script for Hubot, even if you are new to CoffeeScript but if you don’t want to reinvent the wheel here is a very useful link: Hubot-scripts We’re using Pager me, Pug me and a few scripts that took my attention like Google Translate and devops-reactions.
hubot strikes backs
If you enjoyed the read, drop us a comment below or share the article, follow us on Twitter or subscribe to our #MetaBeers newsletter. Before you go, grab a PDF of the article, and let us know if it’s time we worked together.