Skip to content

SergProduction/telegram-bot-messages-collector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

telegram bot messages collector

telegrams bot to collect messages into the database

install

  • create .env file
BOT_TOKEN=token
BOT_USERNAME=name
PROXY=true
SOCKS_HOST=host
SOCKS_PORT=1080
SOCKS_USERNAME=name
SOCKS_PASSWORD=password
  • create postgres database
  • added db name, login, password, host in ./config/config.js
  • npm run create-table
  • npm run test-table

setting bot private disable

added bot in group as admin

About

telegrams bot to collect messages into the database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors