Skip to content

Telegram bot that reminds you about birthdays of your family and friends

Notifications You must be signed in to change notification settings

kj89/birthday_reminder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Birthday reminder bot

This bot reminds you about birthdays of your family and friends.

By default the bot will remind you an important date several times - 14, 7 days before, 1 day before and on the day itself at 10 AM Configuration for notifications can be set in config.py file

How to start

  1. Download this repository
  2. Install postgresql and create new database
  3. Get you telegram bot API token
  4. Manage configuration in config.py file
  5. Open project and run main.py

Bot commands

/start - initialize bot
/add - add reminder to database
/delete - remove reminder from database
/list - show list of reminders saved in database
/notify_start - turn on notifications
/notify_stop - turn off notifications
/notify_status - get current notification status

Prerequisites

For this specific project I used python version 3.8.2 Python packages used for this project (latest available versions in the time when bot was written) :

  • pytz 2020.5 - this library is used to get accurate timezone
  • python-telegram-bot 13.1 - this library provides a pure Python interface for the Telegram Bot API
  • sqlalchemy 1.3.22 - to store and manage data in postgresql database

About

Telegram bot that reminds you about birthdays of your family and friends

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages