shoddy IRC bot written as a learning exercise