Skip to content

riddlercodes/redbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reddit-bot-stream-example

What is this?

This repo provides an example of a Reddit bot built in Node.js.

Specifically, we are looking at a stream of newly posted comments on reddit, and doing something with their contents.

This is achieved through Snoowrap as a Node.js wrapper for the Reddit API, and Snoostorm as a way to easily access the stream of Reddit comments through Snoowrap.

Install

npm i

Create .env at root with the following variables, specific to your Reddit app: https://www.reddit.com/prefs/apps/

CLIENT_ID=***
CLIENT_SECRET=***npm
REDDIT_USER=***
REDDIT_PASS=***

Usage

Running the bot

npm start

redbot

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors