Inspiration

The team observed that moderating large, highly active subreddits often devolves into playing catch-up. By the time a moderation team notices a thread has been brigaded or a controversial topic has spiraled out of control, the damage to the community is already done. Furthermore, we noticed that bad actors frequently target older, unmonitored posts to leave rule-breaking comments or spam, exploiting the fact that these archives are rarely watched. We were inspired to shift community management from a reactive chore to a proactive strategy by building an automated sentry that alerts moderators before a situation becomes unmanageable.

What it does

Safer Comments acts as an advanced early-warning and post-monitoring application built for Reddit moderators. We designed it to monitor subreddit threads using three distinct evaluation systems:

  • Static Notifier: Alerts moderators when a post crosses specific, progressive comment volume milestones (e.g., 20, 50, 100 comments), perfect for tracking naturally growing threads.
  • Velocity Notifier: Flags posts receiving a rapid influx of comments within a configured short time frame (e.g., 10 comments in 5 minutes). This serves as a critical defense against sudden brigades or viral controversy.
  • Old Post Notifier: Watches dormant or archived threads, alerting the team if a post older than a designated timeframe suddenly receives new activity, effectively catching stealthy necro-bumping and late spam.

Instead of flooding the inbox, the application intelligently routes all alerts into a single, threaded Mod Discussion Conversation in Modmail per post, ensuring the moderation queue remains perfectly clean and easy to archive.

How we built it

We built the application entirely on the Reddit Devvit platform. The core architecture was designed with deep modularity at the forefront. We implemented a robust Global Settings interface through the Devvit App Settings dashboard to establish baseline subreddit rules.

To provide granular control, we integrated custom Menu Action Buttons directly onto individual posts. This allows moderators to seamlessly override global configurations, toggle specific trackers on or off, and manage notification locks on a per-post basis. Under the hood, we utilized Devvit's state management to track comment counts, calculate time-based velocity metrics, and manage cooldown periods to prevent alert spam.

Challenges we ran into

One of the primary hurdles we faced was balancing real-time monitoring with notification fatigue. Calculating comment velocity accurately without bombarding moderators required implementing a precise Global Cooldown Period and state-tracking mechanism.

Additionally, ensuring that automated alerts didn't flood the mod queue was a significant design challenge. We had to carefully engineer the Modmail integration so that the bot intelligently replies to an existing Mod Discussion Conversation for a specific flagged post during subsequent alerts, rather than creating new, loose messages every time a threshold is breached.

Accomplishments that we're proud of

We are incredibly proud of the "Ultimate Configurability" the application offers. Giving moderators the power to define global rules while retaining the ability to apply strict, custom thresholds—or disable specific trackers entirely for highly sensitive megathreads—provides unparalleled control.

Furthermore, the clean Modmail inbox integration stands out as a major accomplishment. Transforming potentially chaotic alert floods into organized, archivable, one-thread-per-post conversations significantly improves the daily workflow and mental bandwidth of moderation teams.

What we learned

Through developing this automated sentry, we gained a profound understanding of the Devvit ecosystem, specifically regarding state management and seamless Reddit API integration. We learned how crucial user experience is for the moderation teams operating behind the scenes. Designing the configuration hierarchy taught us how to anticipate the highly diverse needs of different communities, reinforcing that a one-size-fits-all approach does not work for effective moderation tools.

What's next for Safer Comments

Moving forward, we plan to expand the application's analytical capabilities. We aim to introduce more nuanced trigger conditions, such as user-account age integration, to detect if a velocity spike is being driven by newly created bot accounts. Additionally, we want to explore providing a centralized metrics dashboard that offers subreddit-wide analytics on brigade attempts and frequently targeted old posts, giving moderators deeper, long-term insights into their community's security health.

Built With

Share this project:

Updates