Skip to content

A simple Telegram bot that calculates the remaining life expectancy based on the UN statistics

Notifications You must be signed in to change notification settings

evilj0e/life-left-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Life Left Bot

Life Left Bot is a simple Telegram bot built using Telegraf.js that calculates the remaining life expectancy based on UN statistics.

Installation

  1. Clone the repository:
git clone https://github.com/evilj0e/life-left-bot.git
cd life-left-bot
  1. Install dependencies:
npm install
  1. Copy .env.sample to a .env file in the root directory and provide values. Get the telegram bot token with @BotFather

Usage

  1. Start the bot:
npm start
  1. Open Telegram and search for your bot.

  2. Start a conversation with the bot and follow the instructions to calculate your remaining life expectancy.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

About

A simple Telegram bot that calculates the remaining life expectancy based on the UN statistics

Topics

Resources

Stars

Watchers

Forks