Skip to content

dnguyen/node-telegram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Bot


Requirements

Running

Create or edit startbot.sh, make sure to include

telegram-cli -k /path/to/api/key

Run the bot

node app.js

Adding Commands


Edit config.js, and add a new command file to the commands folder. All commands should have the following structure:

var command = {
    process: function(command, telegramProcess) {
        // handle command here
    };
module.exports = command;

About

Bot for Telegram

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages