Skip to content

salambelgord/node-tg-postbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node-tg-postbot

Telegram bot for Node.js for posting to channel by its users. All post are admin channel pre-moderated

Usage

Create "common.js" file with bot token, main channel link and admin chat ID. Include created bot to admin chat and channel.

//bot token
export const TOKEN = '12345:XXXXXXXXXXXXXXXX'

//admin chat id
export const ADMIN_CHAT = '77777777'

//link to channel:
export const CHANNEL = '@xxxxxxxx'

Use "npm start" command to start bot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published