Need help w config

Thanks for creating and supporting this project.

I am having a bit of trouble with initial config.

Goal:

Bot checks any activity in subreddit against activity in blacklist of subreddits.

If submission or post originates from account with activity in blacklist, remove.

I took the FreeKarma recipe, and modified it, but I suck at any kind of code and have messed it up somewhere.

It loads as a valid config, but it is not removing comments

Testing method:

Use alt account to post in blacklist subreddit, then comment in sub where contextbot is a mod running this script

Expected outcome: comments removed

Actual outcome: no action taken

​

{   "runs": [     {       "checks": [         {           "name": "Fetish-sub activity alert",           "description": "Check if author has posted in fetish subreddits",           // check will run on a new submission in your subreddit and look at the Author of that submission           "kind": "submission",           "rules": [             {               "name": "BBW",               "kind": "recentActivity",               "useSubmissionAsReference": false,               // when `lookAt` is not present this rule will look for submissions and comments.               // lookAt: "submissions"               // lookAt: "comments"               "thresholds": [                 {                   // for all subreddits, if the number of activities (sub/comment) is equal to or greater than 1 then the rule is triggered                   "threshold": ">= 1",                   "subreddits": [                     "BBW",                     "BBWhardcore",                     "BBWpussys",                     "bbwmilf",                     "ssbbw",                     "ebonyBBW",                     "SBBW_FANS",                     "ssbbwbutt",                     "BBWanal",                     "BBWaddict",                     "OnlyFansChubbyBBW",                     "BBWorship",                     "maturebbw",                     "BBWass",                     "Fat_Fetish",                     "bfatIRL",                     "stuffersNSFW"                   ]                 }               ],               // will look at all of the Author's activities in the last 7 days               "window": "7 days"             }           ],           "actions": [             {               "kind": "remove",               "content": "{{rules.BBW.totalCount}} activities in karma {{rules.BBW.subCount}} subs over {{rules.BBW.window}}: {{rules.BBW.subSummary}}"             }           ]         }       ]     }   ] }

​

Posted Jul 13, 2023, 10:53 PM UTC

10

No comments yet

Nobody commented on this post, or the comments weren't captured.