Skip to content

stjohnjohnson/reddit-watcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reddit Watcher

Current Release CircleCI Coverage Status Go Report Card Docker Pulls Chat Now

Watches specific subreddits (/r/mechmarket) for items matching a specific pattern.

Running the Bot

Running the bot is easy! You just need a Telegram token that you can get from the BotFather.

Once you have that, start up your server with the following command:

docker run -v `pwd`/config:/config stjohnjohnson/reddit-watcher:latest --token ${TELEGRAM_TOKEN}

In this example, I'm running the container with settings being saved to a local directory.

Using the Bot

The bot responds to private or group messages that look like a command (start with a /).

Notification

The most basic usage is to monitor for posts that match your keywords. The following commands will subscribe (or unsubscribe) you on new posts matching your keywords. If you leave the keyword empty, it defaults to * which is ALL posts.

/selling <keyword>

Look for items matching that keyword that are being sold. Sold means the listing includes "cash" or "paypal" in the "want" field.

/buying <keyword>

Look for items matching that keyword that are being bought. Sold means the listing includes "cash" or "paypal" in the "have" field.

/vendor <keyword>

Look for items matching that keyword posted by a vendor.

/artisan <keyword>

Look for items matching that keyword posted by an artisan.

/groupbuy <keyword>

Look for items matching that keyword posted as a group buy.

/interestcheck <keyword>

Look for items matching that keyword posted as an interest check.

/giveaway <keyword>

Look for items matching that keyword posted as a giveaway.

Other

/help

Replies with a simple help message listing all the available commands.

/items

Outputs a list of your keywords and the number of matches found so far.

/stats

Outputs interesting information about the current bot.

About

Simple bot to scan /r/mechmarket looking for specific sales

Resources

License

Stars

Watchers

Forks

Packages

No packages published