A simple IRC bot written in erlang