Inspiration
I was a new mod at r/ExEgypt and was discussing with another mod how newer members are ruining the sub with trash comments and memes with no real content. So the idea was to add badges to their flairs that they can't change or edit based on their subreddit karma.
What it does
Simple, it calculates total subreddit karma and if it meets a configurable level it proceeds to add a custom text to the flair while removing the older one.
How we built it
Basic Devvit blocks (mod tools)
Challenges we ran into
Not much. Aside there were no built-in method to calculate subreddit karma back then. I opened a ticket and a month later it was implemented.
Accomplishments that we're proud of
It made the community a much safer place. Adding a yellow warning button next to users with negative karma helped users avoid getting into fights with trolls leading to a much less cluttered ban queue. Mods noticed members started to farm karma by posting more memes. I later released a patch allowing high ranking community members to grant good posts a gift of lots of virtual karma or woo them and substract significant amount of karma. This helped reduce the repetitive memes and increase quality posts.
What we learned
How to properly use Devvit's triggers and build a working mutex lock ...
What's next for Userflair ranks
I am planning an upgrade adding a wall of fame pinning top ranking monthly users to the top. This would require a rewrite in react/web instead of devvit mod tools.
Built With
- devvit