def react_dog(msg): prtLog("dog: "+msg.nick) if getPerson(msg).minus(LITTLE): send_msg(msg.channel, Value.randHateMsg(msg)) else: send_msg(msg.channel, Value.randAnnoyedMsg(msg))