Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 861 Bytes

README.md

File metadata and controls

40 lines (24 loc) · 861 Bytes

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.