This is a Telegram bot that provides the latest news about the NFL powered by RotoWire and Twitter accounts and about one NFL Fantasy league at your choice. The bot will fetch info about the NFL and the fantasy league every minute and then it will send to all clients that allowed the bot to do so.
My motto to create this bot came from my frustration to find a reliable service that notifies me about things related to the league. I wanted to know about any player of all teams as soon as possible because I'm a fantasy aficionado and information can be translated into fantasy points in this case.
The only requirement it is at least a Node version that bundles the promisify
utility (i.e. Node 12)
In order to use this bot you need to create a .ENV file with two specific keys:
You will need to apply for a key in Twitter. After set this .ENV file with these five keys, just run the command yarn && yarn tsc && yarn start
.
This bot was built on top of NodeJS v14.
If you plan to serve this bot to different users and not just for yourself you gonna probably will need a Privacy Police