Skip to content

aaron10l/free-lunch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Free Lunch with Python

A python script that alerts you when free food is posted to subreddits via discord bot.

Table of Contents

Description

This project uses PRAW to check food subreddits to see when free coupons/rewards have been posted. It will send an alert to a discord server via a discord bot, allowing you to get there first.

I would have used the Twilio API to send an SMS message, but they have strict restrictions now that take forever to get around.

Installation

Clone the repository:

git clone https://github.com/aaron10l/free-lunch.git
cd free-lunch

Install dependencies:

pip install -r requirements.txt

Usage

Add Environment Variables: You will need reddit API credentials (script) and also discord bot credentials. Add these in a .env file according to the names in the script.

Run the Script:

python bot.py

About

there's no such thing as free lunch... except with python and reddit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages