Inspiration
Reddit moderators manually track user warnings using spreadsheets, sticky notes, or memory — leading to inconsistent enforcement and repeat offenders slipping through. We wanted to solve this with a native Reddit tool that lives inside the platform itself.
What it does
WarnTracker is a Devvit-powered mod tool that lets moderators issue, track, and escalate user warnings directly inside Reddit. Key features:
- Issue warnings with reasons, logged with timestamp and mod name
- Auto-send a DM to the warned user explaining the violation
- View full warning history per user with escalation suggestions (verbal → temp ban → perm ban)
- Add private mod notes per user for internal team communication
- Clear all warnings and notes when a user has reformed
How we built it
Built entirely on Reddit's Devvit platform using TypeScript. The server-side logic uses Redis for persistent warning storage and Reddit's API for auto DM functionality. The client UI is built with vanilla TypeScript and custom CSS with Reddit's dark theme aesthetic.
Challenges we ran into
Learning Devvit's web framework from scratch with zero prior TypeScript experience was the biggest challenge. Understanding the server/client architecture, Redis key-value storage patterns, and Reddit's API permissions took significant trial and error.
Accomplishments that we're proud of Built a fully functional, deployed Reddit mod tool in under 24 hours with no prior Devvit or TypeScript experience. The auto-DM feature and private mod notes make this a complete moderation workflow solution that works natively inside Reddit.
What we learned
Devvit's web framework is powerful for building Reddit-native tools. Redis as a key-value store is perfectly suited for per-user tracking. TypeScript's type system, once understood, makes building reliable APIs significantly easier.
What's next for WarnTracker — Reddit Mod Warning System
- Ban automation: auto-temp ban after warning #2 with one click
- Mod team dashboard: see all warned users across the subreddit
- Warning expiry: auto-clear warnings after a set time period
- Export warnings log to CSV for subreddit records
Log in or sign up for Devpost to join the conversation.