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

#4 added simple DB layer

This commit is contained in:
Fedor Katurov 2021-05-04 11:38:22 +07:00
parent f3a746efe8
commit c0588acd26
15 changed files with 476 additions and 11 deletions

View file

@ -6,6 +6,7 @@ import { VkService } from "../index";
import { TelegramService } from "../../telegram";
import { Template } from "../../template";
import { PostNewHandler } from "./PostNewHandler";
import { Storage } from "../../db";
interface Handler {
new (
@ -15,7 +16,8 @@ interface Handler {
instance: GroupInstance,
vk: VkService,
telegram: TelegramService,
template: Template<any, any>
template: Template<any, any>,
db: Storage
): VkEventHandler;
}