1
0
Fork 0
mirror of https://github.com/muerwre/vk-tg-bot.git synced 2025-04-26 07:26:41 +07:00

added config dump command

This commit is contained in:
Fedor Katurov 2021-05-28 15:12:50 +07:00
parent c709bbf94c
commit f3e0062033
2 changed files with 26 additions and 2 deletions

View file

@ -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, db);
const telegramApi = new TelegramApi(telegram, db, config);
telegramApi.listen();
await telegram.start();