A lightweight Python bot built with Telethon that automatically monitors and notifies about new gift upgrades available in Telegram. Perfect for staying updated with the latest gift enhancement opportunities.
- Automatic Upgrade Detection: Continuously monitors for new gift upgrades in Telegram.
- Smart Filtering: Tracks only relevant gift upgrades based on your configuration.
- Real-time Notifications: Sends instant alerts to your specified channel when new upgrades are detected.
- Persistent Memory: Remembers processed gifts to avoid duplicate notifications.
- Detailed Logging: Provides comprehensive logs both in console and to your Telegram chat.
- Error Resilient: Handles network issues and continues monitoring automatically.
Follow these steps to set up the monitoring bot:
-
Clone the repository:
git clone https://github.com/default034/Gifts-Upgrade-Checker.git cd Upgrade-Checker -
Install dependencies: It's recommended to use a virtual environment.
pip install -r requirements.txt
-
Configuration: Rename
config.py.exampletoconfig.pyand update with your credentials:API_IDandAPI_HASH: Obtain from my.telegram.orgSESSION: Your session name (e.g.,"my_account")TARGET_CHANNEL: Channel username or ID where upgrade notifications will be sentLOG_CHAT: Chat for receiving bot logs and status updatesCHECK_INTERVAL_SECONDS: How often to check for new upgrades
This project was created for personal use, but I am open to suggestions and contributions. If you have ideas for improvement or find a bug, feel free to create an Issue or a Pull Request.
This project is distributed under the MIT License. See the LICENSE file for more information.