Skip to content

Marchand-Nicolas/telegram-mentoring-bot

Repository files navigation

telegram-mentoring-bot

Profile builder to match with mantors/mentees

image

Installation

  1. Clone the repository
git clone https://github.com/Marchand-Nicolas/telegram-mentoring-bot
  1. Move to the project directory
cd telegram-mentoring-bot
  1. Install the dependencies
  npm install
  1. Copy the .env.local.example file to .env.local and fill the values
cp .env.local.example .env.local
  1. Create a new bot on Telegram and get the token https://telegram.me/BotFather

  2. Update the .env.local file with the token

  3. Optional: customize the config files

  4. Start the server

npm start

Usage

Start a new chat with the bot. The bot will ask you to fill your profile. Once you have filled your profile, you can start matching with mentors/mentees.

/start

Mentors will receive a notification when they have a match. They can accept or refuse the match. Mentees will receive a notification when a mentor has accepted a match, and other pending matches will be canceled.

As an admin, you can use the following commands:

/whitelist_mentor telegram_username
/whitelist_mentor remove_mentor_from_whitelist

The whistelist guarantees that only the users in the whitelist can be mentors.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published