Skip to content

shamshod01/tg-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple feedback bot using node-telegram-bot-api.

tg-bot

##To run project

  • create .env
  • add TOKEN, YOUR_ID, GROUP_ID_OF_YOUR_OPERATORS, MAIN_GROUP_ID
  • run npm start

Folder Structure

tg-bot
├── index.js  
|   
├── messages.js
|
└── queryList.js                   

index.js runs bot , contains all logic (you better divide logics and move to different files, if you are going to add more logic )

queryList.js messages.js - list of constants

About

Telegram Echo bot using node JS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published