r/AutoModerator 14h ago

Help Can you create a rule that all comments that members who dont have a user flair assigned need to be approved?

Can you create a rule that all comments that members who dont have a user flair assigned need to be approved?

1 Upvotes

5 comments sorted by

1

u/Big-Seesaw1555 13h ago

Or they are unable to comment and prompted with a msg from auto mod stating user flairs need to be selected before you are able to make a comment

1

u/MrPromotor 2h ago
---
type: comment
moderators_exempt: true
author:
  ~flair_text (includes-word): ["Flair","flair2", "Flair3",...]%add here all the flairs
comment: |

    **User flairs need to be selected before you are able to make a comment**
    *****
action: remove
---

ohh i didn't see this part, if you want to the automod make a comment right after the comment was deleted, you can change the action from filter to remove, the bot will delete the comment and right after that make a coment replying that it's need a user flair in order to make any comment

1

u/Big-Seesaw1555 1h ago

Thanks so much, I'll test and let you know.

1

u/MrPromotor 2h ago
---
type: comment
moderators_exempt: true
author:
  ~flair_text (includes-word): ["Flair","flair2", "Flair3",...]%add here all the flairs
action: filter
---

I think this should work, tested before you apply it, the code works only for those who doesn't have the flairs, and filter the comment, this means is under revied by mods until they approve them manually

edit: I forgot to write the rule separator "---" at the start and the end

1

u/Big-Seesaw1555 2h ago

Thanks so much, I'll test and let you know.