Skip to content

shamshod01/telegram-faq-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TELEGRAM FAQ BOT

Main Features

  • Multilanguage FAQ bot for Telegram

Tech stack

  • Typescript
  • Telegram API
  • MongoDB

Prerequisites

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

Configurations

  1. Star the repository :)
  2. Clone it:
git clone https://github.com/shamshod01/telegram-faq-bot.git
  1. Go to the project directory:
cd telegram-faq-bot
  1. Install the dependencies:
npm install
  1. Create a new .env file and add your Private key, Rpc URL

.env file

MONGODB_URL=
TELEGRAM_BOT_TOKEN=
  1. Then run the bot
npm run serve

Adding FAQ and categories

  1. Update a src/db/*.json files with your FAQ
  2. In server.ts uncomment //initDB() to load data to MongoDB!

About

FAQ bot on Telegram

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published