svoid gazelle_mathBot1_handlePost_2(S _user, S _botToken, GazellePost post) { LS groups = regexpGroupsIC("What is (\\d+)\\s*\\+\\s*(\\d+)", post.text); if (empty(groups)) ret; print("Processing post " + sfu(post)); BigInt result = plus(parseBigInt(first(groups)), parseBigInt(second(groups))); print("Calculated result: " + result); print(postJSONPage("https://gazelle.rocks/bot/createPost", +_user, +_botToken, refs := post.id, text := "The result is " + result, type := "Answer", botInfo := "Math bot")); }