- Multilanguage FAQ bot for Telegram
- Typescript
- Telegram API
- MongoDB
Before you begin, ensure you have met the following requirements:
- Node.js installed (v18 or above recommended)
- Telegram bot token from bot father
- MongoDB Cluster URI
- Star the repository :)
- Clone it:
git clone https://github.com/shamshod01/telegram-faq-bot.git- Go to the project directory:
cd telegram-faq-bot- Install the dependencies:
npm install- Create a new
.envfile and add your Private key, Rpc URL
.env file
MONGODB_URL=
TELEGRAM_BOT_TOKEN=- Then run the bot
npm run serve- Update a
src/db/*.jsonfiles with your FAQ - In
server.tsuncomment//initDB()to load data to MongoDB!