What is it? Is a crawler who get some statistics and save them in a database file to show in a bot for Telegram.
You need to run npm run crawler
and thats it, the other instructions will appear.
Attention: the bot phrases are in portuguese.
First thing you need to configure your bot token from Telegram in the file ./bot.js
line 25.
Second thing is run npm run bot
. You will need some games to show in the bot, the commands are all in private mode and show only today and tomorrow games.
Bot commands:
/comandos
show all commands and examples how to use them (comandos
meanscommands
)./hoje
show all games will happen today (hoje
meanstoday
)./amanha
show all games will happen tomorrow (amanha
meanstomorrow
)./jogo ID
show the statistics from a game (jogo
meansgame
).
Programmed only for studies, I am not responsible for your actions.