IRC bot written from scratch in Ruby