Giter Site home page Giter Site logo

anarpicbot's Introduction

Overview

Butcher-Bot is a moderator bot for reddit, originally developed for use on /r/Diablo. It is designed to be lighter, faster, and more flexible than other available modbots.

#Features

Butcher-Bot monitors one or more subreddits and performs actions upon the satisfaction of rules.

rules currently implemented

  • submission is image (regexp and content-type)
  • submission title match
  • comment username match

actions currently implemented

  • post comment reply (distinguish requires moderator privileges)
  • remove submission or comment (requires moderator privileges)
  • report submission or comment

#Setup

Clone auto_mod.py and create rules.ini in the same directory. See below for example.

[DEFAULT]
user = reddit_name
pass = reddit_password
user_agent = Some /r/example modbot [Butcher-Bot, PRAW; contact /u/example]
last_item = 0
last_comment = 0

[images]
type = image		# "image" type does some additional checking deeper than a URL regexp
reddits = example example2
re = (?:\.jpg$|\.png$|\.jpeg$|\.gif$|\.bmp$|quickmeme\.com/|memegenerator\.net/)
comment = Images are prohibited here.
distinguish = true
actions = comment remove

[forbidden title words]
type = title
reddits = example
re = ^(?:badword1|badword2)
comment = Those words are too bad. They're not allowed here.
distinguish = true
actions = comment remove

[auto-report troublesome users for manual review]
type = comment_user
reddits = example
re = ^(?:baduser1|baduser2)
comment = unused
distinguish = unused
actions = report

#Dependencies

anarpicbot's People

Contributors

listen2 avatar xiphirx avatar chaosteil avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.