Skip to content

Cross-poster of sweet deals on tasty teas

Notifications You must be signed in to change notification settings

taylorkline/TeaSalesBot

Repository files navigation

Build Status

Tea Sales Bot

The code for /u/TeaSalesBot which responds to users of /r/tea who mention a vendor who has had recent sales posted to /r/TeaSales.

This bot is ran by /u/taylorkline.

Contributing

Edit vendors.json to update the vendors for whom the bot will look up sales.

About

This bot is written in python3.6 and integrated with Travis for continuous testing.

After adding appropriate credentials to praw.ini.example and renaming it to praw.ini, the following commands will get you up and running:

python3.6 -m venv teasalesenv
source teasalesenv/bin/activate
pip install -r requirements.txt
python3.6 bot.py

To run the bot continuously through errors and reboots, add this entry to the crontab via crontab -e:

@reboot /path/to/bot/run_continously.sh >> /path/to/bot/run.log 2>&1

About

Cross-poster of sweet deals on tasty teas

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published