Skip to content

guyspr/node-telegram-bot-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Telegram Bot Typescript

Build Status Dependency Status devDependency Status

This repo contains a telegram bot written in typescript.

Configuration

Create a .env file in the root directory of this repo containing the following:

BOT_TOKEN=abcdefghijklmnopqrstuvwxyz1234567890
FORECAST_API=abcdefghijklmnopqrstuvwxyz1234567890
GEOCODE_PROVIDER=google
GEOCODE_APIKEY=abcdefghijklmnopqrstuvwxyz1234567890
SUPERUSER=12345678

Make sure to fill in all parameters.

Running

Make sure the TypeScript compiler is installed using npm install -g typescript.

This project make use of Typings to install typings. Install it using npm install -g typings and then run typings install to install the required typings.

When TypeScript is installed use npm install to install required modules and use npm start to run the bot (automatically compiles and runs the bot).

About

A Telegram bot written in TypeScript using node.js

Resources

Stars

Watchers

Forks

Packages

No packages published