mirror of
https://github.com/muerwre/vk-tg-bot.git
synced 2025-04-25 23:16:41 +07:00
added working message handler
This commit is contained in:
parent
12c8e30a1e
commit
1754092f7c
6 changed files with 77 additions and 39 deletions
|
@ -9,7 +9,7 @@ async function main() {
|
|||
try {
|
||||
const config = prepareConfig();
|
||||
const telegram = new TelegramService(config.telegram);
|
||||
const vkService = new VkService(config.vk);
|
||||
const vkService = new VkService(config.vk, telegram);
|
||||
|
||||
const telegramApi = new TelegramApi(telegram).listen();
|
||||
await telegram.start();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue