- A Telegram bot built with Python using the
python-telegram-bot
library. - The bot provides information about the number of your commits in Telegram.
- Commit : Show the number of today's commits and all commits from 2024.
- Streak : Show continuous days of committed activity for the current and longest streak.
- Python: Programming language used for bot development.
- python-telegram-bot: Telegram Bot API wrapper for Python.
- requests: Library for making HTTP requests.
- dotenv: Library for loading environment variables from a .env file.
- Python 3.6 or later
- Telegram API token
- GitHub API token
-
Clone the repository:
git clone https://github.com/aliseyedi01/Footbal_Grass_Bot.git cd your_repository
-
Install dependencies:
pip install -r requirements.txt
-
Create a
.env
file and add your Telegram API token:TOKEN_TEL=your_telegram_api_token TOKEN_GH=your_github_api_token
-
Run the bot:
python main.py
- Start the bot by sending the
/report
command in the Telegram app.
This project is licensed under the MIT License - see the LICENSE file for details.