dessalines / reddit-banbot

Reddit-Banbot is a reddit bot that can ban users from your community based on karma gained in unwanted communities.
GNU General Public License v3.0
3 stars 1 forks source link
reddit reddit-api reddit-bot

Reddit-Banbot

Reddit-Banbot is a reddit bot that can ban users from your community based on karma gained in unwanted communities.

You provide it with:

Running

./run.sh , or run the following command:

yarn && tsc -p . && node dist/out-tsc/banbot.js \
--clientId X \
--clientSecret X \
--username X \
--password X \
--badSubs={X1,X2} \     # {cringeanarchy, milliondollarextreme}
--subreddit X  \        # the subreddit this user is a moderator of
--threadSort X \        # hour, day, week, month, year, all
--userCommentSort X \   # new, top
--badKarma X \          # A minimum accumulated bad karma threshold
--banDuration X \       # Number of days
--removeComments \      # optional, Removes their comments from the subreddit too
--save \                # Saves users, submissions, and ban report out to the saved folder
--dryRun                # optional, doesnt ban

Requirements

Setup a reddit script client

This is required to make API calls to reddit at the rate of at least 1 per second.

Bugs and feature requests

Have a bug or a feature request? If your issue isn't already listed, then open a new issue here.