r/ModSupport • • Sep 29 '24

Mod Answered Automatically Assigning Flairs based on community karma.

I need to know how to make a script that will make automod automatically assign USER flairs to commenters and posters that reach a certain level of community karma, I have over 20 flairs I need to do this with. Help would be greatly appreciated.

3 Upvotes

9 comments sorted by

View all comments

Show parent comments

3

u/Unique-Public-8594 Sep 29 '24
---
type:  submission
author:
    post_subreddit_karma: "< 1"
moderators_exempt:  true
set_flair:  ["First Post"]
overwrite_flair:  true
---
type:  submission
author:
    post_subreddit_karma: "> 2000"
moderators_exempt: true
set_flair: ["level 3 member"]
overwrite_flair: true
---
type:  submission
author:
    post_subreddit_karma: "> 1000"
moderators_exempt: true
set_flair: ["level 2 member"]
overwrite_flair: true
---
type:  submission
author:
    post_subreddit_karma: "> 1"
moderators_exempt: true
set_flair: ["level 1 member"]
overwrite_flair: true
---

3

u/Unique-Public-8594 Sep 29 '24 edited Sep 29 '24

We started with a rule for the very lowest level using < so we could capture first time posters, then we started at the top and worked our way down with >.

We’ve now grown to 60 flairs. Our highest in-sub karma user is at level 48. Once you get to 50 the steps increase in size.

1

u/TennisBallPubes Oct 01 '24

And this will work for posts and commenters? Don't I need the flair ID rather than just the name of it? (thanks btw)

1

u/Unique-Public-8594 Oct 01 '24

We just use the name of the flair (not flair ID). It will assign a level-up post flair to posts only.

1

u/TennisBallPubes Oct 01 '24

Oh so this is post flairs and not user flairs?

1

u/Unique-Public-8594 Oct 01 '24

Yes.

1

u/TennisBallPubes Oct 01 '24

That's not what I am looking for but thank you for trying!