3 ms·
For a hackathon a couple of years back, we wrote a module for Hubot for Slack integration that was conversational. It was absolutely incredible how difficult i
by yebyen 9y ago
For a hackathon a couple of years back, we wrote a module for Hubot for Slack integration that was conversational. It was absolutely incredible how difficult it was to get Hubot to have a simple scripted conversation and remember any context about how much of the conversation had already taken place (I think because it's supposed to be context-free?)
We wound up using Hubot-Brain (Redis brain) as a place to build and store the context of the conversations that were taking place. Each time you entered a statement that triggered a new conversational context, Hubot would record the context that you triggered with a tag for your name.
The goal was actually to have a robot that you could use to help people form teams at Hackathons. The event I was at was at an unfamiliar college, where I worked with some people I hadn't met before, who didn't share any languages experience in common with each other or myself.
The organizers created a Slack for the event organizing but nobody really used it, and we thought, wouldn't it be cool if everyone who was in the same position as we were could have somehow formed teams in an organized way, without having to go through the awkward experience of having to walk up to people, find out what you have in common, ... and then saying goodbye and walking away if it turns out that you don't have enough in common to reasonably be able to start working together?
We did wind up making Hubot conversational[1], but I wish we had known before we started that there were absolutely zero extant "conversation-style" plugins for Hubot and we were going to have to build that completely from scratch. Would have been great if we had something like this to start with (we might have been able to finish in 24 hours!)
[1]: https://github.com/kingdonb/hubot-malta/ https://github.com/kingdonb/hubot-malta/