Skip to content
This repository has been archived by the owner on May 17, 2020. It is now read-only.
/ upmo Public archive

AutoMod for the subreddit

License

Notifications You must be signed in to change notification settings

unixporn/upmo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

u/upmo

u/upmo (UnixPornMOderator) was a Reddit bot written to automate some of the more menial tasks in subreddit moderation. In April 2020 upmo was replaced by automoderator for long term simplicity and maintainability. It won't recieve further updates to keep pace with PRAW but you're still free to reuse the code under the MIT license.

Most of the functions originally come from a collection of small bots written by u/GoldenSights for various different subreddits. From there they were reworked, merged and heavily modified to create what I thought a bot should be. The major changes are the addition of timed responses and the use of a single text file instead of multiple SQL databases for history management.

Within r/unixporn it carried out the following duties:

  • Removes posts using deprecated tags
  • Removes posts using OS tags
  • Removes posts without DE tagged in title
  • Assigns correct link flair to posts
  • Checks links are through approved hosts
  • Warns user if they haven't added a details comment after 15 minutes
  • Removes posts which haven't added a details comment after 30 minutes
  • Removes posts if the user doesn't meet the minimum karma requirements