PR0FESS0R-99/NodeJsTelegramIdFinderBot

Node JS Telegram Id Finder Bot using by node-tele-bot-api

★ 0Forks 0JavaScriptGitHub ↗Compare

README

Telegram ID Finder Bot

A simple Telegram ID Finder bot made with node-tele-bot-api. This bot helps users quickly find their Telegram user ID by interacting with the bot.

Features

  • Retrieves the Telegram user ID.
  • Simple and easy to use.
  • Built using the node-tele-bot-api.

Getting Started

Follow the instructions below to set up the Telegram ID Finder bot on your local machine.

Prerequisites

  • Node.js installed (version 14.x or later).
  • A Telegram Bot Token (You can create a bot using BotFather).

Installation

  1. Clone the repository:

    git clone https://github.com/PR0FESS0R-99/NodeJsTelegramIdFinderBot
    cd NodeJsTelegramIdFinderBot
  2. Install the dependencies:

    npm install
  3. Create a .env file in the root of your project and add your bot token:

    BOT_TOKEN=your_telegram_bot_token_here
  4. Start the bot:

    npm start

Usage

Once the bot is running, you can start interacting with it through Telegram:

  1. Open Telegram and search for your bot (the bot username you created with BotFather).

  2. Start the conversation by typing /start.

  3. The bot will reply with your Telegram user ID.

Project Structure

```bash
NodeJsTelegramIdFinderBot/
│
├── index.js          # Main bot logic
├── package.json    # Project metadata and dependencies
└── .env            # Environment variables (keep this secret)
```

Scripts

  • npm start - Starts the bot.

Dependencies

Contributing

Feel free to contribute by submitting a pull request.

Contributors

PR0FESS0R-99

Issues