Aggiungi questo bot al tuto gruppo Telegram e fai aggiungere le proprie date di nascita ai membri del gruppo: riceverete un messaggio ogni volta che sarà il compleanno di qualcuno nel gruppo!
Puoi invitarlo al seguente link: http://t.me/the_bday_bot
Link al repo ufficiale: https://github.com/azzlabs/the_bday_bot
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.
git clone https://github.com/azzlabs/the_bday_bot.git
npm
installed!npm install
Copy the contents of config.json.example
into config.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 pm2 pm2 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