Conversations with Hubot

Do not worry about the arrangement of newlines.

The shell adapter (which allows you to talk to Hubot in a shell) displays conversations differently in different environments. If your Hubot puts responses on the same line (Hubot> Shell: hey there) or something else, then that’s OK. What’s important is that your Hubot’s responses are correct.

Note that we’re setting the HUBOT_SHELL_USER_NAME environment variable, so that the Hubot calls us Norm. We’re using the -n flag, so that the Hubot’s name is Friendo. These are both completely optional.

$ HUBOT_SHELL_USER_NAME='Norm' ./hubot.sh -n Friendo
Friendo> Friendo hi
Norm: hey there
Friendo> :D
Friendo> Amazing!
Friendo> Friendo help
Friendo <itemID> is done - Removes the item with <itemID> from the todo list
Friendo add <item> to my todo list - Adds <item> to the list of todo items
Friendo help - Displays all of the help commands that this bot knows about.
Friendo help <query> - Displays all help commands that match <query>.
Friendo hi - say hi
Friendo how do you spell <word> - Checks the spelling of a word
Friendo remind me to <task> in <sec> seconds - Send a reminder in <sec> secs
Friendo show my todo list - Lists todo items in no particular order
Friendo tell me a joke - Go fetch a random knock-knock joke
Friendo> Golly wolly that's a lot of stuff
Friendo> Let's do it all!
Friendo> Friendo show my todo list
Norm: The list is empty!
Friendo> Oh cool!
Friendo> I need to remember to buy some more car wax later!
Friendo> Friendo add buy car wax to my todo list
Norm: OK! I added buy car wax to the todo list
Friendo> Friendo add wax-on my face to my todo list
Norm: OK! I added wax-on my face to the todo list
Friendo> Friendo add wax-off my face to my todo list
Norm: OK! I added wax-off my face to the todo list
Friendo> My, oh my!
Friendo> So much to do!
Friendo> Friendo show my todo list
Norm: 3e5be0ba-0848-49d2-90a8-850902d32b0a: wax-off my face
Norm: ed70490c-7f69-444b-b946-526e238e62ba: wax-on my face
Norm: f3a55129-205c-413b-bb38-38f693c5b202: buy car wax
Friendo> Sounds like I have a busy day ahead of me
Friendo> So exciting!
Friendo> Friendo I'm embarassed
Friendo> Friendo how do you spell embarassed
Norm: What about: embarrassed, embarrasses, embraced, embarrass, unembarrassed, embossed
oooooh
Friendo> I R embarrassed that I didn't know embarrassed had two r's
Friendo> Grammar is fun
Friendo> Alrighty! My face is covered in car wax!
Friendo> Friendo ed70490c-7f69-444b-b946-526e238e62ba is done
Norm: OK! Removed ed70490c-7f69-444b-b946-526e238e62ba
Friendo> Friendo remind me to get the wax-off my face in 10 seconds
Norm: OK. I'll remind you to get the wax-off my face in 10 seconds.
Friendo> Otherwise it's going to turn green again
Friendo> That was so EMBARRASSING last time.
Friendo> Practice makes perfect, Friendo.
Norm: Don't forget to get the wax-off my face!
Friendo> Oh my! Thanks!
Friendo> Friendo 3e5be0ba-0848-49d2-90a8-850902d32b0a is done
Norm: OK! Removed 3e5be0ba-0848-49d2-90a8-850902d32b0a
Friendo> Great!
Friendo> Friendo show my todo list
Norm: f3a55129-205c-413b-bb38-38f693c5b202: buy car wax
Friendo> I'll do that when I go to Whole Foods later!
Friendo> Their car wax is cruelty free!
Friendo> All this talk of cruelty made me sad.
Friendo> Friendo tell me a joke
Norm: Who was the most famous witch detective?
Norm: Warlock Holmes
Friendo> I don't get it!