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

added templaters

This commit is contained in:
Fedor Katurov 2021-04-28 15:51:59 +07:00
parent 1754092f7c
commit d5228ef146
13 changed files with 406 additions and 17 deletions

View file

@ -9,7 +9,7 @@ async function main() {
try {
const config = prepareConfig();
const telegram = new TelegramService(config.telegram);
const vkService = new VkService(config.vk, telegram);
const vkService = new VkService(config.vk, telegram, config.templates);
const telegramApi = new TelegramApi(telegram).listen();
await telegram.start();