diff --git a/rules.go b/rules.go index 763b259..29eedcf 100644 --- a/rules.go +++ b/rules.go @@ -118,7 +118,7 @@ func resetMsgParsingRules() { ,(5000, ` + strconv.Itoa(objSubTypeMessageUnionWar) + `, "Union war rep with both", "^(🏠Trade union news:\n)(?P(?s:.*))(🎪State of exclusive rights:\n)(?P(?s:.*))$") ,(4900, ` + strconv.Itoa(objSubTypeMessageUnionWar) + `, "Union war rep only union", "^(🏠Trade union news:\n)(?P(?s:.*))(🎪State of exclusive rights:\n){0}(?P(?s:.*))$") ,(4900, ` + strconv.Itoa(objSubTypeMessageUnionWar) + `, "Union war rep only fair", "^(🏠Trade union news:\n){0}(?P(?s:.*))(🎪State of exclusive rights:\n)(?P(?s:.*))$") - ,(5000, ` + strconv.Itoa(objSubTypeMessageTimeout) + `, "Generic timeout", "^Too late. Action is not available.$" + ,(5000, ` + strconv.Itoa(objSubTypeMessageTimeout) + `, "Generic timeout", "^Too late. Action is not available.$") ;`) failOnError(err, "resetMsgParsingRules : populate table msg_rules") }