/Watero_telegram_bot

Primary LanguagePythonMIT LicenseMIT

Watero_telegram_bot

Watero: A Hydration Reminder Telegram Bot

Watero is a Telegram bot designed to remind users to stay hydrated by sending hourly reminders during their active hours. The bot interacts with users to understand their wake-up and bedtime and adjusts reminders based on their provided time zone.

Features

  • User Onboarding: Engage with users to set their wake-up time and bedtime.
  • Adaptive Reminders: Send hourly reminders during users' active hours.
  • Time Zone Support: Adjust reminders based on the user's time zone for relevance.

Getting Started

Prerequisites

  • Python 3.x
  • Telegram account
  • python-telegram-bot library

Installation

  1. Clone the repository:
git clone https://github.com/your_username/watero_bot.git
  1. Navigate to the cloned directory:
cd watero_bot
  1. Install required packages:
pip install -r requirements.txt
  1. Run the bot:
python main2.py

Usage

  1. Start the bot.
  2. Send /start to the bot on Telegram to begin the onboarding process.
  3. Follow the bot's instructions to set your wake-up time, bedtime, and time zone.
  4. Receive hourly hydration reminders during your active hours.

Testing

To run the tests for the bot, use the following command:

python test.py

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License. See the LICENSE file for details.