This is a Telegram bot for MotoGP fans, providing real-time information about the latest and upcoming races, driver standings, and more. The bot is built with Python, leveraging the python-telegram-bot library and a MotoGP API to fetch race data and results.
/start- Greets the user and initializes the bot./next- Shows information about the next upcoming race, including race dates, location, and session times./previous- Displays information about the previous race./standings- Fetches the current driver standings and updates.
- Python 3.12 or higher
- Docker (for deploying via Docker container)
- Access to the MotoGP API for race data
If the bot is not responding:
- Check if the Docker container is running with
docker ps. - Ensure your environment variables are correctly set, including the Telegram API token and MotoGP API URL.
Common Docker issues:
- If you face Docker issues, run
docker logs motogp-botto see the logs from the container for troubleshooting.
This project is licensed under the MIT License - see the LICENSE file for details.