This bot was originally created to narrate soccer matches from Brasileirão Série A/Campeonato Paulista Série A. But the main idea is under development.
If you just want to test it, just chat with me on Telegram! Just search for: @MiltonLeite_bot
and start chatting!
Command | Description |
---|---|
/hoje | It will display the all the matches for the current day. |
/proximas_partidas | It will display the week upcoming matches. |
/narrar | It will narrate a selected match. |
/parar | It will stop to narrate the selected match. |
/resultados | It will display match results. |
Install all the dependencies running the following command:
yarn
To run this BOT you must have a created bot in Telegram. To create a new bot, just talk with the @BotFather
on Telegram and copy the generated token.
Running on Windows:
$env:TELEGRAM_API_KEY="YOUR KEY HERE"; yarn dev;
Running on MacOS:
export TELEGRAM_API_KEY=YOUR_KEY_HERE && yarn dev
To run this bot on production mode, just run the following commands:
Windows:
yarn build
$env:TELEGRAM_API_KEY="YOUR KEY HERE"; yarn start;
MacOS:
yarn build;
export TELEGRAM_API_KEY=YOUR_KEY_HERE && yarn start
Special thanks to Ricardo Ribeiro because it was his idea. I just replicated it in NodeJS ;)