Skip to content

Tired of missing out on CPU or GPU deals? Here's a Discord bot that sends alerts on new deals being posted in the buildapcsales subreddit

Notifications You must be signed in to change notification settings

sudo-dco/buildapcsalesbot

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Beat The PC Scalpers Alert Bot

This was a project idea that came during my time struggling to beat the bots on buying a 5600x. After days of missing in stock notifications, I decided I had to do something about it. I wanted to make a Discord bot that would alert me anytime a post was made on /r/buildapcsales regarding any CPU. It was a great opportunity to learn about using the Reddit API and how Discord bots worked and I had a lot of fun with it. I've recently expanded to include other PC parts and also to search for posts in the hardwareswap subreddit.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents

  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgements

About The Project

Built With

  • React
  • Node.js
  • Snoowrap
  • Discord.js

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

  • npm
    npm install npm@latest -g

Installation

  1. Clone the repo
    git clone https://github.com/sudo-dco/buildapcsalesbot.git
  2. Install NPM packages
    npm install
  3. Build Bundle
    npm run build

Usage

  1. Rename .exampleEnv file to .env and add your reddit bot credentials and your Discord bot token.
  2. Edit the timer variable in /server/index.js to adjust how often you want the bot to check. Default is 5 minutes.
  3. Edit the channel IDs variables in /server/index.js with the ID's of the channel you want to send to in Discord.
  4. Run the script with 'npm run server', navigate to http://localhost:3000 and click "Start Interval" to run.

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Your Name - @twitter_handle - thisisdco@gmail.com

Project Link: https://github.com/sudo-dco/buildapcsalesbot

Acknowledgements

About

Tired of missing out on CPU or GPU deals? Here's a Discord bot that sends alerts on new deals being posted in the buildapcsales subreddit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published