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
- Host: GitHub
- URL: https://github.com/develol/ts-bot-lite-example
- Owner: develol
- License: mit
- Created: 2022-10-12T13:04:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-14T08:34:55.000Z (over 2 years ago)
- Last Synced: 2025-01-21T00:50:14.549Z (4 months ago)
- Topics: 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
- Language: TypeScript
- Homepage:
- Size: 22.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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: ''
};
```