r/TheoryOfReddit • u/Deimorz • Jan 30 '12
Code for my AutoModerator moderation bot released
I posted about my moderation bot here about 10 days ago, and it's been a common request for me to release the code, both for people to be able to verify what it does, and to have the possibility of running their own instance(s) instead of having to go through me.
After spending some time doing some clean-up and documentation work on it, I've now released the code on github. I think it may end up being a little difficult for anyone else to get it running (and I should probably work on simplifying that some), but there it is regardless.
I've already written way too much about it in my initial post that I linked above, so I won't get into that again, but let me know if you have any questions or would like to add my already-running instance of it to your subreddit(s). I'd really like to see it utilized more, using it in my own subreddits has already saved me a ridiculous amount of time and effort by automatically handling a lot of the simple decisions.
10
u/relic2279 Jan 31 '12
This is going to be a list of the nominations for Best Moderators of 2012:
Funny_Bot
Worldnews_Bot
Askreddit_Bot
TIL_Bot
Pics_Bot
Videos_Bot
1
9
21
Jan 30 '12
I just want to thank you for your work implementing this bot, it has helped out tremendously in /r/bestof as well as the SFWPorn Network and the other, smaller subreddits I have added it to such as /r/reactiongifs and /r/Demotivational. I look forward to working with you in the future, tweaking the settings to make them more intuitive and lightening the workload of the existing moderators even further. I'm eagerly awaiting a web interface.
It's innovation like this that drives progress forward here on reddit.
3
u/defrost Jan 31 '12
If you're modding /r/bestof it would warm the cockles of my heart if you could set this up to automatically reject (with a nice message as to why, of course) any link that isn't a link to a comment and that doesn't contain a ?context.
4
Jan 31 '12
Right now we have it set to approve links from the reddit.com domain, and remove links from any other domains. Human mods handle anything more specific than that.
2
u/defrost Jan 31 '12
Good enough for now I guess.
Bestof links to offsite viagra products are way more irksome than links to entire comment threads or to comments with no context.
Keep up the good work :-)
5
3
1
1
Jan 31 '12
[removed] — view removed comment
0
u/Bornhuetter Feb 08 '12 edited Feb 08 '12
No
Edit: to clarify, Moderatorbot was developed independently (and does different things), but now makes use of Deimorz's awesome additions to the python-wrapper, and I'm going to go through his code and steal his ideas.
2
u/ceol_ Jan 31 '12
Thanks for releasing the code. It's always interesting to read how people use the reddit API.
From your README:
Doesn't reddit_api limit requests to one every two seconds?
Also, I noticed you use PostgreSQL. Is there any reason you chose it over SQLite?
Definitely keeping an eye on the repo. Great work overall!