Skip to content

erikvilla/promo-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

promo-bot

Telegram feed for promodescuentos rss

Getting started

Configure environments

This project uses config to load environment variables, under config folder create at least default.json following the structure in default.example.json In order to get responses from a telegram bot you will need to get the dev token from any owner of this project or create your own using BotFather in telegram directly.

Current telegram instances are: Production: @promodescuentos_bokbot Development: @promobot_dev_bot

Run the bot locally

npm run start:dev

Simulate production environment using ngrok

Download and install ngrok if you don't have it yet.

Then run:

ngrok http <port>

Copy the forwarding value you will get, something like Forwarding https://310f8e0f.ngrok.io -> localhost:<port> and paste it in your configuration file in the URL section

About

Telegram bot to broadcast promodescuentos rss

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published