Skip to content

devxdebanjan/safer-comments

Repository files navigation

Safer Comments

1. What is Safer Comments?

Safer Comments is an advanced early-warning and post-monitoring application built for Reddit moderators using the Devvit platform. It acts as an automated sentry that tracks comment activity across your subreddit and alerts the moderation team to sudden traffic spikes, milestone events, and suspicious activity on dormant posts.

2. What Does It Solve?

Moderating large or highly active subreddits often means playing catch-up. By the time a moderator notices a thread has been brigaded or a controversial topic has spiraled out of control, the damage is already done. Furthermore, bad actors often target older, unmonitored posts to leave rule-breaking comments or spam, knowing they are less likely to be seen.

Safer Comments solves this by proactively alerting moderators exactly when their attention is needed, allowing them to step in before a thread becomes unmanageable, while effectively securing older archives from stealthy necro-bumping.

3. The Three Trackers: Static, Velocity, and Old Post

The app monitors threads using three distinct evaluation systems, each designed for a specific scenario:

  • Static Notifier: Evaluates total comment volume. It alerts moderators when a post crosses specific, progressive milestones (e.g., 20, then 50, then 100 comments). This is useful for keeping an eye on naturally growing, popular threads.
  • Velocity Notifier: Evaluates comment speed. It alerts moderators when a post receives a rapid influx of comments in a short time frame (e.g., 10 comments in 5 minutes). This is a critical defense against sudden brigades or viral controversy.
  • Old Post Notifier: Evaluates post age. It watches "dead" or archived threads. If a post older than a designated timeframe (e.g., 30 days) suddenly receives a certain number of new comments, the app flags it. This catches spam and late rule-breaking.

4. Ultimate Configurability

Every community is different, so Safer Comments is built with deep modularity in mind.

  • Global Level: Set your subreddit's baseline rules in the App Settings.
  • Post Level: If a specific post is highly sensitive (like a megathread or a controversial news link), moderators can override the global settings and apply strict, custom thresholds just for that post.
  • Individual Controls: Don't need Old Post tracking? Turn it off globally. Have a post that you know will get fast comments and don't want velocity alerts? Turn off just the Velocity tracker for that specific post. You are entirely in control.

5. Global Bot Settings

Accessible via the Devvit App Settings dashboard, these define the default behavior for your subreddit:

  • Default Static Thresholds: A comma-separated list of numbers (e.g., 20, 50, 100). The bot will alert you as a post hits each stage.
  • Default Velocity Threshold / Window: Dictates the speed limit. For example, setting Threshold to 10 and Window to 60 means you will be alerted if a post gets 10 comments within 60 minutes.
  • Old Post Window: Defines when a post is officially considered "Old" (Options range from 15 Days to 1 Year).
  • Old Post Comment Threshold: How many comments an Old Post must receive before triggering an alert (default is 1).
  • Global Cooldown Period: The number of hours the bot will wait before alerting you about the same post again, preventing notification spam.
  • Notifier Status (Global): Three separate dropdowns to globally Enable or Disable the Static, Velocity, and Old Post trackers.

6. Menu Action Buttons

Moderators have access to four powerful actions directly on any post:

  • Configure Comment Notifier: Opens a form to apply custom Static and Velocity settings specifically for the selected post, overriding the global defaults.
  • View Notifier Status: Instantly shows you the active configuration for the post. If the post is old, it will clearly state if Old Post tracking is active. If the post is new, it will display the current Static Stage and Velocity requirements.
  • Manage Notifications Tracking: Opens a form with three simple toggle switches, allowing you to turn the Static, Velocity, or Old Post tracking ON or OFF specifically for this post.
  • Start Monitoring Again: If a post has triggered an alert and is currently in a "Cooldown" phase, this button manually clears the locks and immediately resumes active monitoring and alerting.

7. Modmail Notifications & A Clean Inbox

When Safer Comments detects a breached threshold, it doesn't flood your mod queue or spam your inbox with loose messages.

Instead, it intelligently creates a Mod Discussion Conversation in Modmail for the specific flagged post. If the post triggers another alert later (e.g., hitting the next Static milestone), the app will simply reply to that existing Modmail thread. So One Thread for One Post in always maintained. Once you have checked the modmail you can archive the discussion about that post easily. This threaded workflow keeps all automated alerts and moderator discussions about a specific post contained in one easy-to-read, archivable conversation, maintaining a perfectly clean inbox.

8. Conclusion

Safer Comments transforms subreddit moderation from reactive damage control into proactive community management. By combining intelligent traffic tracking, deep configurability, and clean Modmail integration, it ensures your moderation team is always exactly where they need to be, right when they need to be there.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors