Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 620 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 620 Bytes

XboxOneGiveAways Bot

Simple reddit bot which crawls reddit submissions using praw4 and send emails based on keyword to run :

python xbox_bot.py

To deploy on heroku create the required config vars:

  • REDDIT_USERNAME
  • REDDIT_PASSWORD
  • REDDIT_CLIENT_ID
  • REDDIT_CLIENT_SECRET
  • SENDGRID_APIKEY
  • MAIL_TO
  • MAIL_FROM

Prerequisites:

  1. Sendgrid Api, signup here : Signup on Sendgrid
  2. Reddit App, how to create: How to Create Reddit App

Run on heroku as detached dyno

heroku run:detached python xbox_bot.py