User Tools

Site Tools


alert

Alert

Creates a customized alert that is sent to you when a new post is found based on your search query.

If at any point you would like to cancel the creation of an alert, simply type CANCEL after the bot has asked you a question.


When searching multiple words it will return anything with ALL of the words that you searched

Example: If you search:

1TB SSD

The bot WILL alert you for

1TB HD, 512GB SSD

Because it found both 1TB AND SSD in the title/description. Unfortunately it can not tell that they are for two separate things.

If you wish for it to be more exact, add quotations around your search like so:

"1TB SSD"

The bot will ONLY alert you for

1TB SSD

Usage

$alert

Output

Are you searching for a Post or a User?
What would you like to search for?
What subreddit would you like to search?
How would you like to be notified? For push notification type P | For @mention type A
Please select the push notification you would like to use OR input a new one. This is your pushover.net user key
Alert Added!

Types

There are 2 types of alerts. An email alert, and an @mention in discord.

  • P - Pushkey alert.
  • A - @mention - This is sent in a private message to keep the channel clear.

In-line Commands

In line commands make the bot much faster to use. Instead of going through the entire process of setting up the alert, you can input 1* command and be done with it.

* Certain use of in-line commands, or improper use, will force the bot to ask you further questions.

Parameters

$alert SEARCH_TYPE SEARCH_QUERY SUBREDDIT ALERT_TYPE

Explanation:

  • SEARCH_TYPE - Post or User.
  • SEARCH_QUERY - This is what you are searching for. If your query contains multiple words, this needs to be wrapped in quotes
  • SUBREDDIT: This is the subreddit you would like the bot to watch.
  • ALERT_TYPE - This is the method in which the bot will notify you.
    • A - An @mention alert
    • P - A pushover alert

Usage Examples

$alert post i7-7700k r/hardwareswap a

The above command will @mention you if someone posts an i7-7700k in r/hardwareswap

$alert post DL380 homelabsales a

The above command will @mention you if someone posts a DL380 in r/homelabsales

$alert post i7-7700k hardwareswap p

The above command will ask you what pushover ID you would like to use before setting up the alert The above command will send you a push notification using pushover if someone posts an i7-7700k in r/hardwareswap

Incorrect Usage

$alert i7-7700k p

In the above example, we have forgotten to give an ALERT_TYPE and a subreddit.

alert.txt · Last modified: 2023/11/23 04:45 by charlita