github/hubot — pull request #520 by timclipsham (2013-06-22 08:07:10+00:00)
Title: Fix youtube script no results bug

The YouTube Hubot script crashes when calling `msg.random` if the query returns no results.

I handled this case and also changed the http call to use `robot.http` rather than the deprecated `msg.http`. The message sent back to the chat room is the same as what YouTube shows when no results return.