mic-bot/bot/normal_mode/init.ts
2024-10-19 12:00:35 +02:00

10 lines
354 B
TypeScript

import { Bot } from "https://deno.land/x/grammy@v1.30.0/mod.ts";
import { Kysely } from "npm:kysely";
import { Ctx } from "../ctx.ts";
import { CompiledConfig } from "../../cfg/exports.ts";
import { Database } from "../../repo/exports.ts";
export const init = (bot: Bot<Ctx>, db: Kysely<Database>, cfg: CompiledConfig) => {
const { botCfg } = cfg
}