This Telegram bot is designed to provide United International University (UIU) notices to users automatically. It fetches notices from the UIU website and sends them to users at regular intervals.
- Clone this repository to your local machine.
- Navigate to the project directory.
- Install the required dependencies using pipenv:
pipenv install
- Replace
<TOKEN>
in theTOKEN.py
file with your Telegram bot token. - Run the bot script:
pipenv run python your_script_name.py
- Start Command:
/start
- Initializes the bot and activates the auto-update feature. - Author Command:
/author
- Provides information about the author of the bot. - Auto Update: The bot automatically fetches the latest notice from the UIU website and sends it to users.
- Error Handling: The bot includes error handling to log and handle any exceptions that may occur during its operation.
- Start the bot by sending the
/start
command. - You will start receiving updates on 'UIU_Notice_Bot' channel.
- Use the
/author
command to know more about the author of the bot.
The bot fetches notices from the UIU website using web scraping techniques. It scrapes the website periodically to check for new notices.
Contributions are welcome! Feel free to submit bug reports, feature requests, or pull requests.