Bet Bot - A Telegram Betting Bot with Scraping System


Telegram bot for sending snippets of daily bets I made using puppeteer based on leagues registered by the user.

 

Bet Bot is a Telegram bot that revolutionizes the betting experience by providing users with daily betting information, including tips, matches, and odds. The bot is integrated with a scraping system built with Puppeteer and Zod and uses PostgreSQL, Prisma, and TypeScript for database management, ORM, and development.


System Overview
Bet Bot aims to help users stay updated with the world of sports betting, with a specific focus on soccer. The bot provides daily notifications about matches and odds from the leagues the user follows. Users can add or remove leagues from their list, customize their preferences, and receive relevant information.

Although the current version of the bot is primarily aimed at the Brazilian market, with full support for the Portuguese language, it was designed to be scalable and can be expanded to support additional languages and features.

Getting Started
To run the Bet Bot system on your local machine, follow these steps:

Clone the repository to your local machine.
Install the required dependencies using the yarn install command.
Set up a PostgreSQL database and update the database configuration in the project.
Set up the Telegram bot API key.
Configure the scraping scripts to be able to connect to the bot correctly.
Compile and start the system using the yarn dev command.
Ensure you have the necessary permissions and access rights to use the required libraries, APIs, and databases.
Conclusion
Bet Bot aims to be a valuable virtual assistant for bettors.


Go back
2-05-2025, 18:09