mirror of
https://github.com/muerwre/vk-tg-bot.git
synced 2025-04-26 07:26:41 +07:00
added pop action for telegram
This commit is contained in:
parent
c1fb45742e
commit
c709bbf94c
9 changed files with 90 additions and 8 deletions
|
@ -16,7 +16,7 @@ async function main() {
|
|||
const telegram = new TelegramService(config.telegram);
|
||||
const vkService = new VkService(config.vk, telegram, config.templates, db);
|
||||
|
||||
const telegramApi = new TelegramApi(telegram);
|
||||
const telegramApi = new TelegramApi(telegram, db);
|
||||
telegramApi.listen();
|
||||
|
||||
await telegram.start();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue