nihilistic-reddit-bot
This is a Node.js Reddit bot that captures comments with negative sentiment, and replies to them with nihlism.
Setup
Start by setting up the required environment variables either in a local .env file or as Heroku config vars.
# API info
CLIENT_ID=***
CLIENT_SECRET=***
REDDIT_USER=***
REDDIT_PASS=***
# Comment stream setting
RESULTS=25
# Sentiment settings
METRIC_THRESHOLD=-15
WORD_COUNT_THRESHOLD=80
# Subreddit(s) to stream comments from
SUBREDDIT=subreddit1+subreddit2+...
Build
$ npm install
Usage
$ npm start