Skip to content

develol/ts-bot-lite-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ts-bot-lite-example

[TypeScript] Example of ts-bot-lite

Node.js v18.2.0+
TypeScript v4.8.0+

Getting started

  1. Cloning this repository
  2. Cloning ts-bot-lite a nearby directory
  3. Installing dependencies from package.json...
npm i
  1. If TypeScript is not global, then...
npm i typescript
  1. Create example.conf.ts

File example.conf.ts

export const conf:any = {
    tokenTelegram:    '<api_key>',
    tokenVK:          '<api_key>',
    tokenViber:       '<api_key>',
    testUserTelegram: '<user_id>',
    testUserVK:       '<user_id>',
    testUserViber:    '<user_id>'
};