Update ircbot example to use log method instead of print statement. Rename 'died' var to 'is_dead'.