Profile builder to match with mantors/mentees
- Clone the repository
git clone https://github.com/Marchand-Nicolas/telegram-mentoring-bot
- Move to the project directory
cd telegram-mentoring-bot
- Install the dependencies
npm install
- Copy the
.env.local.example
file to.env.local
and fill the values
cp .env.local.example .env.local
-
Create a new bot on Telegram and get the token https://telegram.me/BotFather
-
Update the
.env.local
file with the token -
Optional: customize the config files
-
Start the server
npm start
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.