What it does
Makes users have to wait until they post again, for example if I post now, I can only post again after 5 minutes (this can be changed in the settings). It can also timeout users, basically not allowing them to post for a few hours/days (or more), while they stay in the subreddit (they don't get kicked out).
How I built it
Using Devvit's Mod Tool template (helped me out a lot really). I used it as a base for this project. It helped me see how menus, forms and triggers work. I used AI (only for) coming up with the ideas for a few features that would fit naturally into PostPause, and for a few bugs that I couldn't find a way to fix on Google.
Challenges I ran into
Users getting PM about getting timed out for ~0.5 hours more than the time they were actually muted for. Not able to figure out how to make different cooldown for each flair (big thanks to fsv in the Discord!).
Accomplishments that I'm proud of
Using the same logic for timing out as well
What I learned
How Devvit, TypeScript and Hono work, and how Mod Tools are used in Reddit
What's next for PostPause
Even more features, community feedback etc.
Built With
- devvit
- hono
- typescript
Log in or sign up for Devpost to join the conversation.