MindMate Bot is a Telegram bot designed to support mental well-being through quick, private, and compassionate check-ins. It helps users reflect on their feelings, reduce stress, and access helpful resources.
/startβ Welcomes the user and explains how to use the bot./checkinβ A 3-step guided mental wellness check-in:- Select your current mood using emojis.
- Share what's on your mind.
- Rate your stress level (scale 1β10).
/tipβ Get a random calming or self-care suggestion./helpβ Access mental health resources and emergency helplines.- π‘ Privacy First β No personal data is stored. Logs are anonymized and used only for bot improvement.
-
Clone the repository:
git clone <repo-url> cd MindMateBot
-
Install dependencies with Poetry:
poetry install
-
Configure environment variables:
Copy
.env.exampleto.env:cp .env.example .env
Then, set your Telegram bot token in
.env:TELEGRAM_TOKEN=your-bot-token
-
Run the bot:
poetry run python bot.py
You should see:
π€ Bot is running...
MindMateBot/
βββ bot.py # Main bot entry point
βββ handlers/ # Telegram command handlers
β βββ checkin.py
β βββ help.py
β βββ messages.py
β βββ start.py
β βββ tip.py
βββ storage/
β βββ logs.json # Anonymized logs (not personal data)
βββ utils/ # Utility modules
β βββ constants.py
β βββ logger.py
β βββ tips.py
βββ .env # Environment config (not committed)
βββ .env.example # Sample environment config
βββ pyproject.toml # Poetry configuration
βββ README.md # Project documentation
| Command | Description |
|---|---|
/start |
Start and get an introduction |
/checkin |
Begin the 3-step mood check-in |
/tip |
Get a calming self-care suggestion |
/help |
Access mental health resources |
Contributions, suggestions, and pull requests are warmly welcomed!
MIT License β Feel free to use and adapt.
Taj
π§ tajulislamj200@gmail.com