mirror of
https://github.com/FoxxMD/context-mod.git
synced 2026-04-19 03:00:07 -04:00
* Add Runs to main docs readme and concepts * Add high level diagram in main docs readme to show CM lifecycle * Refactor subreddit/rule examples to use runs syntax
34 lines
826 B
Plaintext
34 lines
826 B
Plaintext
{
|
|
"runs": [
|
|
{
|
|
"checks": [
|
|
{
|
|
"name": "Flair New User Sub",
|
|
"description": "Flair submission as sketchy if user does not have vet flair",
|
|
// check will run on a new submission in your subreddit and look at the Author of that submission
|
|
"kind": "submission",
|
|
"rules": [
|
|
{
|
|
"name": "newflair",
|
|
"kind": "author",
|
|
// rule will trigger if Author does not have "vet" flair text
|
|
"exclude": [
|
|
{
|
|
"flairText": ["vet"]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"actions": [
|
|
{
|
|
"kind": "flair",
|
|
"text": "New User",
|
|
"css": "orange"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|