develol / ts-bot-lite-example

[TypeScript] Example of ts-bot-lite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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>'
};

About

[TypeScript] Example of ts-bot-lite

License:MIT License


Languages

Language:TypeScript 100.0%