comment_subreddit_karma is not working

https://www.reddit.com/r/AutoModerator/comments/112wv6o/comment_subreddit_karma_is_not_working/

created by vermithrax on 15/02/2023 at 12:27 UTC*

6 upvotes, 1 top-level comments (showing 1)

I am trying to make a min subreddit comment karma requirement for comments in threads with a certain flair.

What I've written is removing comments from everyone, however. I am sure I've done something wrong, but I don't know what, and it's difficult to test.

    type: comment
    parent_submission:
        flair_text (includes): "something"
    author:
        comment_subreddit_karma: '< 10'
    action: remove    
    message: "you don't have enough comment karma in our subreddit to comment in this thread"

Comments

Comment by jason4es at 18/02/2023 at 16:50 UTC

1 upvotes, 1 direct replies

Hi!

Maybe try:

type: comment
parent_submission:
    flair_template_id: 'insert ID here', 'next ID here'
author:
    comment_subreddit_karma: '<10'
action: filter
action_reason: Insert reason name here

By checking for a specific ID you eliminate errors with text (helped us a lot).

The action reason will be displayed in the Mod Log, so you can check easier (recommend this for all Automod actions).

And action filter to monitor the behavior in a live subreddit. Worst case: your Mod queue will be crowded, but the submissions aren’t lost.

If the rule behaves as Intended: set action to remove and add the message.

No guarantee that this works 100%- I’m somewhat a beginner myself 😅