Kuraz Tech Bot is a Telegram Bot built using Node.js and the node-telegram-bot-api
library to streamline the registration process for the Kuraze Internship program. It offers a seamless experience for both users and admins, allowing users to register and admins to manage the registrations effectively.
- Simple registration process through Telegram.
- Collects user details such as full name, GitHub and LinkedIn profiles, phone number, and email.
- Provides informational links to the Kuraze Internship resources.
- Allows admins to review, approve, or reject registration requests.
- Sends notifications to users about the status of their application.
- Offers direct contact options for further inquiries.
- Links to support groups and official channels.
- Node.js: The runtime environment used for building the bot.
- node-telegram-bot-api: A library to interact with the Telegram Bot API.
- dotenv: To manage environment variables securely.
- Telegram Bot API: For handling bot interactions and user messaging.
- Node.js: Ensure you have Node.js installed. Download Node.js
- Telegram Bot Token: Create a Telegram bot using BotFather and obtain the token.
-
Clone the repository:
git clone https://github.com/Yabe12/kuraz-project-.git cd kuraz-tech-bot
-
Install dependencies:
npm install
-
Set up environment variables:
- Create a
.env
file in the root directory. - Add your bot token and admin chat ID:
STUDENT_BOT_TOKEN=your_bot_token ADMIN_ID=your_admin_chat_id
- Create a
-
Run the bot:
node studentBot.js
/start
: Begins the registration process.- Navigate through the bot's menu to access information, register, or contact support.
- Review and manage pending registrations directly from the Telegram chat.
- Approve or reject registrations using the provided inline buttons.
adminChatId.js
: Handles admin-related functionalities and interactions.studentBot.js
: Main bot logic for handling user commands and registration processes..env
: Contains environment variables for sensitive data.package.json
: Project metadata and dependencies.
- The bot is initialized using the token provided in the
.env
file and uses polling to listen for updates.
- Users are guided through a series of prompts to complete their registration.
- The collected data is sent to the admin for review.
- Admins receive the registration request with options to approve or reject.
- Notifications are sent to users based on the admin's decision.
We welcome contributions! Please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature-branch
- Make your changes and commit:
git commit -m 'Add new feature'
- Push to the branch:
git push origin feature-branch
- Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
For any inquiries or support, please reach out to me at [email protected] or connect with me on LinkedIn.