Skip to content

ksami/telegrambot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

telegrambot


Bot for the Telegram chat application

Installing

  1. npm install
  2. Create ./.config/config.json with the contents
{
    "ksami": {
        "isQuiet": true,
        "url": "https://api.telegram.org/bot",
        "token": API_TOKEN,
        "timeout": 1
    },
    "meetup": {
        "isQuiet": true,
        "url": "https://api.telegram.org/bot",
        "token": API_TOKEN_2,
        "timeout": 1
    }
}

and replace API_TOKEN with your api tokens, one for each bot that you want
3. Comment out the bots that you don't want in app.js

Running

  1. node app

Releases

No releases published

Packages

No packages published