reddit-watcher

command module
v0.0.0-...-8fb32ab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2018 License: MIT Imports: 3 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
bot

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL