mic-bot/bot/normal_mode/init.ts

10 lines
345 B
TypeScript
Raw Normal View History

2024-10-19 10:47:33 +00:00
import { Bot } from "https://deno.land/x/grammy/mod.ts";
2024-10-19 10:00:35 +00:00
import { Kysely } from "npm:kysely";
import { Ctx } from "../ctx.ts";
2024-10-19 10:47:33 +00:00
import { CompiledConfig } from "../../cfg/config.ts";
2024-10-19 10:00:35 +00:00
import { Database } from "../../repo/exports.ts";
export const init = (bot: Bot<Ctx>, db: Kysely<Database>, cfg: CompiledConfig) => {
const { botCfg } = cfg
}