A simple birthday reminder bot for Telegram.
Want to add it to your group? Look for @the_bday_bot on telegram
Note: it only works for groups since every birthday is tied to a specific group member id / username.
- Clone this repository onto your server
git clone https://github.com/azzlabs/the_bday_bot.git
- Install all the dependencies - You'll need
npm
installed!
npm install
-
Copy the contents of
config.json.example
intoconfig.json
and add your api key (you can create a new bot and obtain a key using @BotFather) -
You can either run it on the shell with
npm start
or in background using pm2pm2 start bday_bot.js
Note: it requires MongoDB to run! You can specify the MongoDB uri and the database name into the config.json file. You'll just need to create a database and create a couple of collections named birthdays
and groups
respectively