An open API service indexing awesome lists of open source software.

https://github.com/develol/ts-bot-lite-example

[TypeScript] Example of ts-bot-lite
https://github.com/develol/ts-bot-lite-example

bot bots javascript nodejs telegram-api telegram-bot telegram-bot-api tgbot ts typescript viber-api viber-bot viber-bot-api viber-chatbot vk-api vk-bot

Last synced: 2 months ago
JSON representation

[TypeScript] Example of ts-bot-lite

Awesome Lists containing this project

README

        

# ts-bot-lite-example
[TypeScript] Example of **[ts-bot-lite](https://github.com/develol/ts-bot-lite)**

***Node.js v18.2.0+***\
***TypeScript v4.8.0+***
# Getting started
1. Cloning this repository
2. Cloning **[ts-bot-lite](https://github.com/develol/ts-bot-lite)** a nearby directory
3. Installing dependencies from package.json...
```
npm i
```
4. If TypeScript is not global, then...
```
npm i typescript
```
5. Create [example.conf.ts](#file-exampleconfts)
# File example.conf.ts
```typescript
export const conf:any = {
tokenTelegram: '',
tokenVK: '',
tokenViber: '',
testUserTelegram: '',
testUserVK: '',
testUserViber: ''
};
```