Update bot.rb

If a tip contains a {target} and it's a directed message, don't do the directed_at: prefix. (Makes tip commands look odd)
Merge pull request #21 from workmad3/patch-1

Update bot.rb
Add !railsapi and !rubyapi commands

Add commands to run searches on the Rails API and Ruby API. There was an
ApiLookups module, but it doesn't appear to be at all functional.

Signed-off-by: David Celis <david@davidcelis.com>

Fixes #18
Fix GH status
Add 8ball command
Merge pull request #25 from toretore/master

8ball command
Remove ancient code from bot.rb
Log modes + kicks
Use non-deprecated finders in log method
Remove useless find_or_create_person method
Use correct syntax in log for finding a person
Encoding utf-8, json 1.7.7 in migration.rb
Add missing fields to migration
require_relative in migration
Revert inadvertent use of Rails 4 syntax
Find channel by case-insenitive name
Update bot.rb

Found a way to crash the bot with the !say command. Proposing this modification as a slightly cleaner implementation, along with some recovery.
Merge pull request #27 from workmad3/patch-2

Update bot.rb
remove dependency on iconv, which is now deprecated in Ruby 2

As per: http://stackoverflow.com/questions/16032241/ruby-2-0-iconv-replacement
Add whois command