Laundry bot for the management of laundry timers in CAPT
- Python 3.12
- Docker (Only for deployment)
- Create your own Telegram bot by following BotFather instructions
- Copy the
API_KEY
(keep this key secret)
- Copy this repository
git clone https://github.com/jloh02/capt-laundry-bot
- Create a
.env
file in root folder with the following content and update Telegram bot API key
TELEGRAM_BOT_API_KEY=<YOUR_API_KEY>
TIMER_DURATION_MINUTES=<TIMER_DURATION_DEFAULTS_TO_34>
CONVO_TIMEOUT_SECONDS=<CONVERSATION_HANDLER_TIMEOUT_DEFAULTS_TO_300>
- Install Packages
pip install -r requirements.txt
- Run Bot
python src/main.py
Ensure you have docker installed
docker compose build
docker compose up -d
Instead of a DB, we opted for a local JSON file to allow for ease of deployment and logetivity of the project as this project will be managed at an individual basis outside of the management of CAPT