Skip to content

JVmano/product-watcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Product Watcher

It's a simple script that use Discord.js library to send webhooks in a discord server when Creatina from Growth Suplementos is available.

Compatibility

  • Linux
  • Mac

Installing

Rename example.env to .env and add your webhook link in DISCORD_WEBHOOK_URI. To a guide for knowing how to get the webhook link. Click Here.

Using NPM:

npm install

Using YARN:

yarn

Usage

To edit the product list you'll need to edit the ìndex.js file and for each product link that will be monitored you 'll need to call the function getProducts.

Finally just execute the command the start command to initiate the monitor:

yarn start

or

npm run start

Contributing

  1. Fork the repository
  2. Create a new branch like feat/feature_name
  3. Execute a push in the branch
  4. Create a pull request

About

It's a simple script that use Discord.js library to send webhooks in a discord server when Creatina from Growth Suplementos is available

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors