cjoudrey/wobot — pull request #18 by powdahound (2011-12-07 04:07:00+00:00)
Title: Get room nickname automatically

This makes it so Wobot fetches the room nickname it should use automatically. Users often have a hard time setting this properly or don't realize why they can't join rooms once they rename their bot. This makes things easy.

Changes of note:
- The 'connect' event is now emitted after the name has been fetched, not as soon as the client connects. Should there still be an event for when the initial connection is made?
- If there's an error fetching the profile info (HipChat server troubles) the bot just disconnects. I think this is the right behavior but I'm not sure the way I'm emitting an error and disconnecting is accurate. Can you confirm?