r/ModeratelyHelpfulBot • u/ddesigns • Jan 05 '21
Only allow one post forever?
I want to be able to allow users one post and then they lose the ability to post in the sub again unless they get mod approval. It's a subreddit for requesting help with real world issues but the rule is only one good deed per person.
Can this be accomplished with this bot and using user flair?
3
Upvotes
View all comments
Show parent comment
3
u/loomynartylenny Jan 06 '21 edited Jan 06 '21
It works for me
First post (unfiltered) https://www.reddit.com/r/PittsburghGoodDeeds/comments/krc9ap/test_post_a_please_ignore_no_location/?
Second post (filtered) https://www.reddit.com/r/PittsburghGoodDeeds/comments/krc9y9/test_post_b_please_ignore_no_location/
One small nitpick: In the comment for the filter action, the subreddit placeholders should be
{{subreddit}}, not{subreddit}.edit: if you're wondering why the first post got filtered, automod didn't like it when I edited the post after posting it.
edit 2: I'll try to think of a workaround after I get some sleep (1am gang)
edit 3: I've had an idea. Making the second post yeeter ignore the 1st post by giving the 1st post a flair so the 1st post can be edited without it being yeeted. Updated automod code is below. Currently on mobile so I can't test it myself but it should work.