comment-bot
npm module to easily setup a reddit comment bot!
Install
npm install comment-bot
Usage
const commentBot = ; const creds = userAgent: processenvUSER_AGENT clientId: processenvCLIENT_ID clientSecret: processenvCLIENT_SECRET username: processenvREDDIT_USER password: processenvREDDIT_PASS;
const bot = creds;
streamComment method is setup as so.
// streamComment(options, callback); bot;
Commenting
const options = subreddit: 'all' results: 25; const bot = creds; bot