Meet Will.
Will is the friendliest, easiest-to-teach bot you've ever used. He works on hipchat, in rooms and 1-1 chats.
He makes teaching your chat bot this simple:
@respond_to("hi")
def say_hello(self, message):
self.say("oh, hello!")
Will was built by Steven Skoczen in the Greenkahuna Skunkworks, and has been contributed to by lots of folks.
Will has docs, including a quickstart and lots of screenshots at: http://greenkahuna.github.io/will/
Check them out!