birthdaybot/README.md

47 lines
1.0 KiB
Markdown
Raw Normal View History

2024-05-16 00:35:28 +02:00
2024-05-16 11:44:17 +02:00
# Birthday Reminder Bot 🎂
A simple telegram bot 🤖 that reminds you of your friends' birthdays 🥳.
2024-05-16 00:35:28 +02:00
2024-05-16 11:44:17 +02:00
- Birthday list (current age ⏲️, time to birthday 🔜, sorted 🥇)
- Monthly 📆, weekly 📆, daily 📆 reminders
2024-05-16 00:35:28 +02:00
> I made this bot for my personal use, but you can use it too. Just follow the instructions below.
2024-05-16 11:44:17 +02:00
## Installation :
2024-05-16 00:35:28 +02:00
1. Clone the repository
```bash
git clone git@github.com:MatMasIt/birthdaybot.git
```
2024-05-16 11:44:17 +02:00
2. Create a virtual environment 🏗️
2024-05-16 00:35:28 +02:00
```bash
python3 -m venv venv
```
2024-05-16 11:44:17 +02:00
3. Activate the virtual environment 🔦
2024-05-16 00:35:28 +02:00
```bash
source venv/bin/activate
```
2024-05-16 11:44:17 +02:00
4. Install the requirements 📥
2024-05-16 00:35:28 +02:00
```bash
pip install -r requirements.txt
```
2024-05-16 11:44:17 +02:00
5. Create a `.env` file in the root directory and add the following variables (you can obtain the token at [@botfather](https://t.me/botfather))
2024-05-16 00:35:28 +02:00
```bash
TOKEN=YOUR_TELEGRAM_BOT_TOKEN
```
2024-05-16 11:44:17 +02:00
6. Run the bot ⏯️
2024-05-16 00:35:28 +02:00
```bash
python bot.py
2024-05-16 11:44:17 +02:00
```
2024-05-16 11:50:16 +02:00
## Todo 📝
- [ ] Ask for timezone 🕒 and use that to notify birthdays at the local midnight, instead of the CET time