Skip to content

A reddit bot for leaving removal reasons on removed submissions that have been given a flair containing a rule number

License

Notifications You must be signed in to change notification settings

PhazonJim/RemovalReasonBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RemovalReasonBot

A reddit bot for leaving removal reasons on removed submissions that have been given a flair containing a rule number

Environment setup instructions

  1. Install Python 3
  2. Install PIP (https://pip.pypa.io/en/stable/installing/)
  3. pip install -r requirements.txt

Configurations

  1. Set up a reddit wikipage with YAML formatted reasons you want to have for each rule. This page must include a header, footer, and rules section. See example rule page example.yaml
  2. Ensure user info, subreddit name, wikipage name, number of posts to check in moderator log, etc are set up in config.yaml

Usage

  1. Add removal reason comments to removed submissions
    • run RemovalBot.py

Features

  1. Will only leave comments on posts that have been removed and have a rule in the flair that matches your configurations
  2. Checks to ensure there isn"t already a distinguished comment in the comment section
  3. Keeps track of posts that have been commented on to save time/resources
  4. Allows a list of moderators to ignore from the log - For example if you have Automoderator in this list, all posts removed by Automod will get ignored

TODO

  1. More error handling
  2. Additional customizations

About

A reddit bot for leaving removal reasons on removed submissions that have been given a flair containing a rule number

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages