This project is a simple Reddit bot implemented in JavaScript. The bot scans the titles of new submissions on Reddit and sends a message to the author if the title contains certain keywords.
Prerequisites:
- Node.js installed on your local machine
- A Reddit account to use for the bot
Installation:
-
Clone the repository
git clone https://github.com/deveshlashkari/reddit-bot-node.git
-
Navigate to the project directory
cd reddit-bot
-
Install the dependencies
npm install
Usage:
To start the bot, run the following command in the project directory:
node reddit_bot.js
or
if you want to use nodemon:
npm start
The bot will start scanning new Reddit submissions and send messages to the authors of posts with titles containing the specified keywords.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.