Watches specific subreddits (/r/mechmarket
) for items matching a specific pattern.
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.
The bot responds to private or group messages that look like a command (start with a /
).
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.
Look for items matching that keyword that are being sold. Sold means the listing includes "cash" or "paypal" in the "want" field.
Look for items matching that keyword that are being bought. Sold means the listing includes "cash" or "paypal" in the "have" field.
Look for items matching that keyword posted by a vendor.
Look for items matching that keyword posted by an artisan.
Look for items matching that keyword posted as a group buy.
Look for items matching that keyword posted as an interest check.
Look for items matching that keyword posted as a giveaway.
Replies with a simple help message listing all the available commands.
Outputs a list of your keywords and the number of matches found so far.
Outputs interesting information about the current bot.