Moved IRC bot event methods to its own class.