Python IRC bot from scratch.