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