Skip to content

A Discord webhook to send messages of GSA Auctions listings.

Notifications You must be signed in to change notification settings

Narlotl/gsa-auctions-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gsa-auctions-bot

A Discord webhook to send messages of GSA Auctions listings.

Getting started

  • Clone the repo
  • Run npm install
  • Create a config.json
  • Add a field for the webhookUrl and set it to your webhook's URL
  • Add a field called searchOptions and set it to the URL queries
    • Don't set the page, size, advanced, or searchType
    • Go to the site and set your filters, then copy the query string
  • Run node index every time you want to send the messages
  • (Optional) add a username field for a custom bot name (default GSA Auctions)
  • (Optional) add an avatarUrl field for a custom bot icon (default )
    • Discord doesn't allow local pictures, so it has to be a URL

Example

Show all active listings in California

{
  "webhookUrl": "https://discord.com/api/webhooks/{webhook.id}/{webhook.token}",
  "searchOptions": {
    "status": "active",
    "states": "CA"
  }
}

About

A Discord webhook to send messages of GSA Auctions listings.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published