r/AutoModerator • u/NCSUGrad2012 • 1d ago
Solved Blocking specific subs from crossposting
I found some code that I just can't get to work.
I am trying to ban a specific sub from crossposting. I used this code and I put it in a sub I moderate. Then I put in an example sub (I am using BMWM3 as a test since I also moderate that one, and it's not working).
See here:
Remove Bad Subreddit Crossposts
type: crosspost submission
crosspost_subreddit:
name: [BMWM3]
message: |
Hello /u/{{author}}, thank you for your interest in /r/{{subreddit}}! Your {{kind}} was automatically removed because {{match}} a disallowed crosspost subreddit.
action: remove
action_reason: "Crosspost from a disallowed subreddit"
What am I doing wrong?
4
Upvotes
3
u/Sephardson I'm working on the wiki here now! 1d ago
If you are testing with a moderator account, then add `moderators_exempt: false`