Skip to content

Repository files navigation

Search Lead Bot

Description

This bot allows you to monitor groups for keywords appearing in messages and notify and give you a link to the message with the keyword.

Live Demo

The bot is currently running and can be tested. You can interact with the bot by visiting the following link:
Try the Search Lead Bot

Installation

To install and run the bot, follow these steps:

  1. Clone the repository:

    git clone https://github.com/mahhis/search-lead-bot.git
  2. Navigate to the project folder:

    cd search-lead-bot
  3. Launch the mongo database locally

  4. Create a .env file and add the necessary environment variables. Example at .env.example.

  5. Install dependencies using Yarn:

    yarn install
  6. To start the bot, run the following command::

    yarn start

Environment variables

  • TOKEN — Telegram bot token

  • MONGO— URL of the mongo database

  • API_HASH - go to https://my.telegram.org/apps and get it

  • API_ID - go to https://my.telegram.org/apps and get it

  • SESSION - After receiving the ID and Hash, run the startClient file

    node src/startClient.js

    then go through the authorization and the value SESSION will appear in the console

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages