mirror of
https://github.com/FoxxMD/context-mod.git
synced 2026-04-19 03:00:07 -04:00
69 lines
2.0 KiB
Plaintext
69 lines
2.0 KiB
Plaintext
{
|
|
"polling": [
|
|
"unmoderated"
|
|
],
|
|
"runs": [
|
|
{
|
|
"checks": [
|
|
{
|
|
//
|
|
// Remove submissions from users who have recent activity in freekarma subs within the last 50 activities or 6 months (whichever is less)
|
|
//
|
|
"name": "freekarma removal",
|
|
"description": "Remove submission if user has used freekarma sub recently",
|
|
"kind": "submission",
|
|
"itemIs": [
|
|
{
|
|
"removed": false
|
|
}
|
|
],
|
|
"condition": "AND",
|
|
"rules": [
|
|
{
|
|
"name": "freekarma",
|
|
"kind": "recentActivity",
|
|
"window": {
|
|
"count": 50,
|
|
"duration": "6 months"
|
|
},
|
|
"useSubmissionAsReference": false,
|
|
"thresholds": [
|
|
{
|
|
"subreddits": [
|
|
"FreeKarma4U",
|
|
"FreeKarma4You",
|
|
"KarmaStore",
|
|
"upvote"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"actions": [
|
|
// remove this after confirming behavior is acceptable
|
|
{
|
|
"kind": "report",
|
|
"content": "Remove=> {{rules.newtube.totalCount}} activities in freekarma subs"
|
|
},
|
|
//
|
|
//
|
|
{
|
|
"kind": "remove",
|
|
// remove the line below after confirming behavior is acceptable
|
|
"dryRun": true,
|
|
},
|
|
// optionally remove "dryRun" from below if you want to leave a comment on removal
|
|
// PROTIP: the comment is bland, you should make it better
|
|
{
|
|
"kind": "comment",
|
|
"content": "Your submission has been removed because you have recent activity in 'freekarma' subs",
|
|
"distinguish": true,
|
|
"dryRun": true,
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
}
|