MyFreeIT Mentoring Bot – is a personal chat bot for MyFreeIT IT School, designed for efficient interaction between participants and a mentor. The bot provides the following features:
- User registration via the
/startcommand. - Password verification for new users.
- Connecting the mentor with waiting participants.
- Forwarding messages between the mentor and participants.
- Ending chat sessions with the
/endcommand.
Author: Denis Odesskiy
Organization: MyFreeIT
- Clone the repository:
git clone https://github.com/yourusername/mentoring-bot.git
- Change to the project directory and create a virtual environment:
cd mentoring-bot python -m venv venv source venv/bin/activate # for Windows: venv\Scripts\activate
- Install the dependencies:
pip install -r requirements.txt
- Create a .env file with the variables:
BOT_TOKEN=your_telegram_bot_token MENTOR_ID=your_mentor_id ACCESS_PASSWORD=your_access_password
- Run the bot:
python mentoringbot.py
MyFreeIT Mentoring Bot – это персональный чат-бот для IT-школы MyFreeIT, разработанный для удобного взаимодействия
между участниками и ментором.
Бот позволяет:
- Регистрировать пользователей по команде
/start - Проверять пароль доступа для новых участников
- Подключать ментора к ожиданию пользователей
- Пересылать сообщения между ментором и участниками
- Завершать чат командой
/end
Автор: Denis Odesskiy
Организация: MyFreeIT
- Клонируйте репозиторий:
git clone https://github.com/yourusername/mentoring-bot.git
- Перейдите в каталог проекта и создайте виртуальное окружение:
cd mentoring-bot python -m venv venv source venv/bin/activate # для Windows: venv\Scripts\activate
- Установите зависимости:
pip install -r requirements.txt
- Создайте файл .env с переменными:
BOT_TOKEN=your_telegram_bot_token MENTOR_ID=your_mentor_id ACCESS_PASSWORD=your_access_password
- Запустите бота:
python mentoringbot.py