Files
context-mod/docs/examples/regex/matchThresholdCurrentActivity.json5
2021-08-26 11:26:59 -04:00

14 lines
235 B
Plaintext

// goes inside
// "rules": []
{
"name": "swear",
"kind": "regex",
"criteria": [
{
"regex": "/fuck|shit|damn/",
// triggers if current activity has greater than 5 matches
"matchThreshold": "> 5"
},
]
}