Most courts would see the offer, acceptance, consideration and intent in that text message chat. Standing up and arguing that it wasn't really you sending those messages but your wife/child/whatever might work... But trying to argue that a computer program you wrote sent those messages, and therefore there was no intent behind them might be hard to prove or persuade the court.