mirror of
https://github.com/FoxxMD/context-mod.git
synced 2026-01-14 07:57:57 -05:00
15 lines
358 B
Plaintext
15 lines
358 B
Plaintext
// goes inside
|
|
// "rules": []
|
|
{
|
|
"name": "swear",
|
|
"kind": "regex",
|
|
"criteria": [
|
|
// triggers if current activity has more than 0 matches
|
|
{
|
|
"regex": "/fuck|shit|damn/",
|
|
// if "matchThreshold" is not specified it defaults to this -- default behavior is to trigger if there are any matches
|
|
// "matchThreshold": "> 0"
|
|
},
|
|
]
|
|
}
|