Life Left Bot is a simple Telegram bot built using Telegraf.js that calculates the remaining life expectancy based on UN statistics.
- Clone the repository:
git clone https://github.com/evilj0e/life-left-bot.git
cd life-left-bot
- Install dependencies:
npm install
- Copy
.env.sample
to a.env
file in the root directory and provide values. Get the telegram bot token with @BotFather
- Start the bot:
npm start
-
Open Telegram and search for your bot.
-
Start a conversation with the bot and follow the instructions to calculate your remaining life expectancy.
Contributions are welcome! Please open an issue or submit a pull request.
This project is licensed under the MIT License.